Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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: Sun Jul 06 00:57:07 EDT 2025

Powered by FUDForum. Page generated in 0.03614 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top