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 07:48 Go to next message
No real name is currently offline No real name
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 17:55 Go to previous message
Krum Tsvetkov is currently offline Krum Tsvetkov
Messages: 149
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: Sat Aug 30 04:34:09 EDT 2014

Powered by FUDForum. Page generated in 0.01576 seconds