This is a good tool to optimize your Adobe Air application. Adobe Air Tuner:
I am not familiar with your project; or how it is implemented. Adobe AIR has several methods available for free memory. This will allow you to correctly delete or delete objects. These cleanings can be found here .
One thing that some people do when creating media players; especially with large carriers. Example:
Let's say your media player contains six pages of content; only 1 GB of data. This is a very, very large memory allocation for your project. So instead, immediately call the entire 1 GB; the first page loads and the second page loads.
The remaining four pages remain "unclaimed" rather than dynamically loaded. Then the user switches to the second page; page 3 starts preloading the content. The user switches to page three; page 4 starts loading. But it also has an array or objects created on the first page. Therefore, this does not affect the application.
Obviously, this method is tedious because you control all aspects of the download. It also creates problems if your user begins to quickly navigate the pages.
So, another possible solution; it would be the creation of sketches so that the size was much smaller. Then download full-size images as stand-alone streams that can be deleted without any problems once they leave this area. Thus, the gallery is independent.
If you provided some code or some additional information, I can help you above and further only for the implementation of the interface / memory.
source share