Question

I ran the jhat on the heap dump, it has generated the reports. How do i use the report to analyze the heap.I couldn't understand completely other than the instance count. Is there any references or case studies on that. In short, i need to proceed furthur, How can i?

Also what is object query language.

Was it helpful?

Solution

Finally settled with Eclipse Memory Analyzer, which gives almost everything we can get from the dump

OTHER TIPS

Have you read the documentation for JHAT? It details the various types of queries that can be performed using the heap analysis tool.

You can use the object query language which is a part of JHAT.See which object's are prominent in memory at the time of heap dump and look up in the code if you can reduce unwanted object creation.

Also have look at this blog on how to fix memory leaks.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top