Slowdown after leaving the game on for a while

Started by alexgleason, September 29, 2018, 11:12:28 PM

Previous topic - Next topic
My game runs at full speed normally. But sometimes I'll leave the game window open while I'm working on some code. When I return 20 minutes later it's often lagging quite a bit. CPU usage goes up to 100% on one of my cores.

It's possible my game code is causing this, but I'm not sure where. I'm not using game:on_update() anywhere and I don't think I'm firing off any events that never stop. Has anyone else experienced this? Solarus 1.5.3
RIP Aaron Swartz

We fixed some performance issues in Solarus 1.6. Can you compile the dev branch of the repository to see if you still have the problem?

@Christopho

I've got a compiled version and have not had this issue how long does it have to be running?