Reputation: 2148
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!
Upvotes: 9
Views: 2576
Reputation: 3565
Check this out:
http://www.bytearray.org/?p=3151
Good things are happening :)
Upvotes: 0
Reputation: 1606
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.
Upvotes: 1