I have an AS3 project and while using Mr. Doob’s profiler I see that memory usage keeps rising with every second. How can I find out where the leak is coming from? I’m looking for a solution that doesn’t involve Flash Builder Professional.
Share
Does it keep going up and up, or does it ever drop?
If you’re using FlashDevelop (free), there’s a profiler panel that you can set to turn on when you test your SWF. That panel has 3 tabs: Memory, Live Objects Count, and Objects. You can use the Live Objects Count to get an idea of what’s currently alive. If you see one type of object continuously going up and never going down, then you’ve a leak.