tutorial how flash garbage collection works:
http://blogs.adobe.com/aharui/GarbageCollection/GCAtomic.ppt
heres a couple good quotes from the presentation:
-The collector is not guaranteed to find all collectible blocks in one pass
Don’t want to interfere with rendering and interaction, Thus memory may never return to the initial point
-You are generally only concerned about repeatable sequences: Popup dialogs coming and going Modules loading and unloading. If you repeat these sequences often over a long period of time, the amount of totalMemory will hit some maximum value and stay at or below it if you are not leaking memory.
-Garbage Collection is not predictable
good tutorial on using the flex profiler:
http://www.peachpit.com/articles/article.aspx?p=1182473&seqNum=2
Showing posts with label memory. Show all posts
Showing posts with label memory. Show all posts
Wednesday, July 16, 2008
Tuesday, July 15, 2008
Actionscript 3.0 Flex Modules Tricky Timer Memory Leak
Becareful when unloading modules to stop and remove Timers, these can cause you memory leaks (and headaches)!!
Subscribe to:
Posts (Atom)