Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Live objects in MAT histogram?(Memory Analyzer Tool (Android dev))
Live objects in MAT histogram? [message #1002166] Thu, 17 January 2013 23:29 Go to next message
Bill Stinson is currently offline Bill Stinson
Messages: 1
Registered: January 2013
Junior Member
I'm trying to use MAT for Android development. II'm not clear whether the histogram section is showing only live objects when the dump was taken, or both live and previously allocated/freed objects.

Can someone please clarify? And if it's both live + historical, then is there a way to get it to show only live objects? Many thanks.
Re: Live objects in MAT histogram? [message #1005391 is a reply to message #1002166] Fri, 25 January 2013 03:45 Go to previous message
Krum Tsvetkov is currently offline Krum Tsvetkov
Messages: 148
Registered: July 2009
Senior Member
I have no experience with the Android dumps, but in general hprof has no historical data.
We see however (in hprof dumps from other VMs) a small ammount of objects, for which there are no reference chains from the GC roots.
MAT does remove the unreachable objects itself by default.

Have a look at our wiki description here:
http://wiki.eclipse.org/index.php/MemoryAnalyzer/FAQ#MAT_Does_Not_Show_the_Complete_Heap
and http://wiki.eclipse.org/index.php/MemoryAnalyzer/FAQ#How_to_analyse_unreachable_objects
You can probably try out if keeping changing the settings make any difference.

Hope this helps.

Krum
Previous Topic:Sorry, Extreme Beginner here
Next Topic:The dreaded 'XPCOM error -2147467259'
Goto Forum:
  


Current Time: Mon Apr 21 05:57:04 EDT 2014

Powered by FUDForum. Page generated in 0.01525 seconds