iPad memory management
Hi
I've been working on getting a version of an AIR for desktop app onto an iPad. I'm testing on an iPad 1 right now.
The app first creates about 20MB worth of display objects, and then loads in about 15MB worth of image data that gets cut up and displayed as Bitmaps in the objects created in step 1.
In the cut-up phase, 15MB of BitmapData objects are created to copy images from the loaded in image data into the display objects. This is where the screen goes black and the app crashes. I know it's a memory issue because it works fine on the desktop.
I'm not sure how to tell how much RAM is available to my app... but is using 50MB enough to take down the iPad?
I already have a few ideas on how to streamline my image loading and processing, but are there any best practices on how to deal with image (Bitmap) memory, or AIR for iPad memory management in general ?
Thanks
