views:

264

answers:

3

Does anyone know of any better tools that the Flex Builder Profiler? I've googled and googled to no avail.

While the FB tools are OK for small apps / small leak situations, they're nowhere near adequate for wading through the thicket of object references that can arise in a large scale Flex app (that is leaking memory heavily). In particular, any reasonably complex view structure ends up with huge numbers of parent/child object references to the top level view - none of which are at all relevant to finding the one or two refs from outside the parent child subgraph that are causing the whole bolus to be non-GC'able.

If no one has any better suggestions, I'm seriously considering writing a tool to parse the saved profile dumps that Flex Builder can generate so that I can do my own "graph pruning" to find the important refs. If I go this route, collaboration would be welcome!

+1  A: 

I like your DIY attitude. I couldn't find any Profiler alternatives either, but here's an article that helped me a lot by one of the authors of the Adobe Training from the Source book. I'd suggest doing spot reviews on the coding suggestions outlined here. HTH.

UPDATE: De MonsterDebugger also has a memory monitor feature.

adamcodes
A: 

Check out http://code.google.com/p/pushbuttonengine/source/browse/trunk/src/com/pblabs/engine/debug/Profiler.as

Very interesting project for Flex applications.

jonbcampos
Nice. How would one incorporate just that piece in a project?
adamcodes
A: 

Powerflasher's FDT IDE has an elaborate profiling tool.

MasterOfObvious