Plugin to stop MemoryLeak from opening menu.

So I have a game for mobile but it keeps crashing no matter what I do after a while.

After testing I found that if you open the menu it constantly raises memory usage.


If I run the game on PC and watch the memory I can run around well over 20 mins just moving and map transitioning and the memory usage is about 185MB.

EACH time I open the menu the memory usage goes up by about 20mb!

Can anyone help me with this. if I keep opening and closing the menu I can see it just keep going up. it just keeps leaking memory because the game went to use up over a gig of my memory in less than 2 minutes of me just opening and closing the menu.
What plugins do you currently use?
Try disabling them one by one to figure out which one is causing the leak
Is the project updated to the latest version?
The latest version has removed all memory leaks in default, so if you are running that the memory leak has to come from a plugin.

However, if you only update the editor then the project will remain on an older version that still has the memory leaks - you need to update the project to fix the old problem.
Additionally, even with the fix the memory useage will rise for a time, because it takes time until the garbage collector clears the memory. So even with the fix in, the opening of the menu will increase memory usage - but that memory will drop again if you play for a while without accessing the menu. Memory leaks are only if the memory doesn't drop again.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-stop-memoryleak-from-opening-menu.75342/