Debugging FLEX/AS3 memory leaks

Posted by Scott Evernden on Stack Overflow See other posts from Stack Overflow or by Scott Evernden
Published on 2009-03-20T05:41:52Z Indexed on 2010/03/18 19:31 UTC
Read the original article Hit count: 640

I have a pretty big Flex & Papervision3D application that creates and destroys objects continually. It also loads and unloads SWF resource files too. While it's running the SWF slowly consumes memory til about 2GB when it croaks the player. Obviously I am pretty sure I let go of reference to instances I no longer want with expectation the GC will do its job. But I am having a heck of a time figuring out where the problem lies.

I've tried using the profiler and its options for capturing memory snapshots, etc - but my problem remains evasive. I think there are known problems using debug Flash player also? But I get no joy using the release version either.

How do you go about tracking down memory leak problems using FLEX/AS3 ? What are some strategies, tricks, or tools you have used to locate consumption

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3