Founder and coder for Super + Fun, a social funware company. I also enjoy quilting, reading, and singing in the shower.

Using System.totalMemory to analyze flash memory usage

When looking for memory leaks on an application that loads many bitmaps, Internet Explorer showed much lower memory usage from System.totalMemory than FireFox.  The difference is because

not everything allocated in the player is allocated by the internal allocator, nor reported through totalMemory…namely anything allocated by OS system calls, memory associated with platform bitmap data, and the JIT buffer associated with the Actionscript VM.”

http://www.justsuppose.com/some-systemgc-and-systemtotalmemory-tips/

Thursday, October 22nd, 2009

blog comments powered by Disqus