Sobes.tech
Senior

What tool did you use for Heap Dump analysis?

sobes.tech AI

Answer from AI

For analyzing Heap Dump in Java, I often use the following tools:

  • Eclipse Memory Analyzer (MAT) — a powerful tool for detecting memory leaks and analyzing objects in the heap.
  • VisualVM — a user-friendly tool with a graphical interface for monitoring and analyzing memory.
  • jhat — a built-in JDK tool for analyzing heap dumps via a web interface.

Example of using MAT: load the heap dump, generate a report on suspicious objects, find retention chains of objects causing leaks.