Skip to main content


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] Fri, 18 January 2013 04:29 Go to next message
Bill Stinson is currently offline Bill StinsonFriend
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 08:45 Go to previous message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 164
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: Thu Apr 25 23:03:01 GMT 2024

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

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

Back to the top