I am developing an AIR app which packages multiple video files in swf format. Users of the app are supposed to create a movie by creating a sequence of these swf files. The ipa file size is around 200MB. I have done some graphic optimizations such as using bitmaps wherever possible, avoid using filters and blend modes etc. The app works just fine on iOS6/iPad3 however it crashes on iOS5.1/iPad3. After checking device logs using xcode on Mac, it appears that the app is crashing because of low memory. The real problem seems to be loading of swfs which keeps adding on to memory usage with every swf load. The Loader.unload() method does not work on iOS, so it seems that I have hit a dead end. I have no clue as to how to tackle this memory issue without unload.
I tried the latest AIR SDK 3.6 Beta, but the video swfs just don't load and hence I cannot use the application. I had specified loader context with application domain set to current domain. According to adobe labs page they have added support for packaging and loading of multiple swfs and better memory management in AIR 3.6, however until I can load the swf its of no use to me.
I am using following setup: Flash Professional CS6 AIR SDK 126.96.36.1990 iPad 3/iOS 5.1
I would really appreciate any help in this regard.