inky icon indicating copy to clipboard operation
inky copied to clipboard

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

Open gnu-lorien opened this issue 2 years ago • 1 comments

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 avatar Sep 12 '23 02:09 gnu-lorien

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.

https://github.com/inkle/inky/issues/214#issuecomment-608975690

gnu-lorien avatar Sep 12 '23 02:09 gnu-lorien