iOS memory leak

In a simple game with a few maps, without any plugin, after trying for 30 minutes after trow many "Memory Warnigs", the game crash and throw: "Terminated due to memory issue"

(Im using Apache Cordova)
This is when playing the game, or when using the editor? And using the steam version?
This is when playing the game, or when using the editor? And using the steam version?
Im run the game on IPhone,

And yes, is the Steam Version , but the error only happens on IPhone deployed (not in xcode Simulator)
any ideas?
(removed)
Thanks

 

The script works fine! The game still throwing warnings , but not crushed.

It has some issues: The map name is shown with black font, and the first damage in battle is shown with glitches
Are those problems caused by the plugin? (does it work correctly without it?)

If yes, I'll see and check if I can fix it.
Are those problems caused by the plugin? (does it work correctly without it?)

If yes, I'll see and check if I can fix it.
I think so, but did not try it without my plugins.

I think not load the font image using to show damage.
Can you try this fix from Ramiro and see if it improves things?


Also, the issues with map name and damage display - were they already happening, or did they just start happening after you added blubberblubb's plugin? (if you disable that plugin, do the issues still happen)? And what are the warnings that are still being thrown?


Some things (almost anything in the System folder) should not be cleared, and that may be the cause, but you didn't really say in what way the damage in battles was "glitched".
The blubberblubb's plugin solves the memory error, but now have this "glitch" (first damage)

[IMG]http://i.imgur.com/uTFXfQm.jpg[/IMG]

the blubberblubb's plugin is the only active plugin  
I don't see how that plugin could possibly cause that issue unless you have another plugin enabled as well. Unless it is simply because the system files have been cleared from cache as well.

If you disable the plugin, does it still happen?
If you start a brand new project and ONLY add blubberblubb's plugin, does it still happen?

Edit: I've just finished making this.  I've tested it on PC and it works as I expect, though my testing was pretty basic.  I haven't tried running it on any mobile devices.

Original thread: https://forums.rpgmakerweb.com/threads/ios-memory-leak.51350/