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?
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.