Corona dispatches a normal event inside Lua for that, and for the project (that I am porting from Corona to Gideros) it is REALLY useful.
My use for it, is unload non-visible scenes and cached stuff.
I leave them loaded to make loading times shorter, but this event allow me to unload them if needed (iPad Retina particularly loved to trigger it, because of its crazy resolution coupled with crap memory)
Also, capturing this event allow some easier debugging of running out of memory.
Comments
If you need to catch this event inside Lua, it's possible with a simple plugin. (I can give further information about it).
Corona dispatches a normal event inside Lua for that, and for the project (that I am porting from Corona to Gideros) it is REALLY useful.
My use for it, is unload non-visible scenes and cached stuff.
I leave them loaded to make loading times shorter, but this event allow me to unload them if needed (iPad Retina particularly loved to trigger it, because of its crazy resolution coupled with crap memory)
Also, capturing this event allow some easier debugging of running out of memory.