Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Better Flex memory profiling tools

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!

like image 300
verveguy Avatar asked Dec 18 '09 20:12

verveguy


1 Answers

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.

like image 90
adamcodes Avatar answered Oct 07 '22 20:10

adamcodes