Debugging Intermittent JVM Crashes with Heap Dumps
Debugging Intermittent JVM Crashes with Heap Dumps

Debugging Intermittent JVM Crashes with Heap Dumps

Author
Shiv Bade
Tags
heapdump
java
Published
December 19, 2015
Featured
Slug
Tweet
Sporadic crashes are always tough. We finally traced ours using heap dumps and MAT.
Steps: - Enable -XX:+HeapDumpOnOutOfMemoryError - Analyze dump using Eclipse MAT - Identify retained sets and suspect dominators
MAT helped visualize object retention trees, revealing a listener registration leak.
It’s like archaeology — but with memory graphs.