Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Memory Analyzer (MAT) » Retained heap in histogram view
Retained heap in histogram view [message #505187] Mon, 28 December 2009 12:48 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: December 2009
Junior Member
I am new to eclipse MAT and and a bit dubious regarding following points

In histogram view of a heap dump,
for certain class entries I get no. of objects 0 but still the retained heap shows >=2048 (i.e more than 0)
What exactly is retained heap and what does this indicate?

Also I really liked the OQL tool integrated with MAT. Is there any official tutorial to learn its syntax?
Re: Retained heap in histogram view [message #505250 is a reply to message #505187] Mon, 28 December 2009 22:55 Go to previous message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 164
Registered: July 2009
Senior Member
The class histogram also includes the class instance. So if there is a class with several static fields, and there are 0 instances of the class, you will still see retained heap > 0 and 0 instances.

About the OQL: if you press F1 when you open the OQL view, you should get some help and the syntax.

I hope this helps.
Previous Topic:References hold by Finalizer
Next Topic:How to setup MAT in Eclipse SDK
Goto Forum:
  


Current Time: Thu Apr 25 06:23:16 GMT 2024

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

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

Back to the top