Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory usage grows rapidly and story never renders when opening an example ink file #492

Open
gnu-lorien opened this issue Sep 12, 2023 · 1 comment

Comments

@gnu-lorien
Copy link

gnu-lorien commented Sep 12, 2023

I'm a first time user of Inky and I'm running into a fairly odd problem. When I load Inky the initial example runs fine. If I then click on Ink->Full Stories->The Intercept, that story loads and I can start exploring it.

The problem is that even that simple example can't be loaded once saved. If I Save Project with the exact text of the Intercept, then Open Recent the following happens:

  • The UI is extremely laggy
  • The loading, circular throbber shows in the upper right the whole time
  • The story never renders
  • The memory usage of Inky grows until I run out of memory

The amount of memory that it grows to is in the 4 or 5GB range compared to its normal usage measured closer to 1 MB or so. I'm not sure why loading an ink file results in such catastrophic misbehavior, but it makes Inky essentially unusable. I tried to look around for similar symptoms to see if there was some usual fix but I couldn't find it. Hopefully it's just me experiencing this!

Windows 11 x64 0.14.1

@gnu-lorien
Copy link
Author

It was mentioned that maybe this was about the folder that the ink files were in causes the misbehavior. This appeared to be what was causing me trouble. I was saving my ink files in the Documents folder. Apparently something about this folder disrupts something that Inky tries to do. I created a folder just for ink files and they're now able to open and play the story correctly.

#214 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant