Using the FlashDevelop profiler to find memory leaks
FlashDevelop has an object count of each type of class that exists in memory to help you find memory leaks.
To open FlashDevelop profiler, click View > SWF Profiler.
Click red flag on upper left corner of profiler to enable auto-start profiler.
Press CTRL+ENTER to start debugging.
Click the live objects count flag to see what is causing the memory leak.
Make sure you check the count column, not the maximum.