Memory warning reaction on iOS unacceptable
Hi.
I have an application on iOS iPad that performs ok until it reaches the point that iOS sends a lot of memory warnings and every time the AIR runtime re-acts with full garbage collection, that in turn leads to some Decompressing images, and the application crawls at 1.5 fps spending all the time garbage collecting and decompressing images.
The thing is that the client has some caches and stuff it could unload if only the application got some kind of event saying that it recieved memory warning (like you can do with native iOS code.
Also Im not entirely sure the AIR runtime is responding correctly.
Is there any way the application code can recieve this warning as well, and do some housekeeping?
And any idea why a garbage collection could cause "Decompressing images" is something getting collected that shouldn't (we are using plenty of embedded flash assets (via swc).
I am using the FLEX compiler with AIR 3.7
