

Here is the GC graph for the case (memory leakĬause hang application) if you’re interested in: Interestingly in my case my app didn’t OOM but just hang and fullGC You download the heapdump to local and open it with MAT.Or using bundle Hotspot tool like jmap or jconsole)

You take a heap dump (using -XX:HeapDumpOnOutOfMemoryError option,.MAT usage is pretty straight forward so I didn’t try to cover details If you think GC language like Java should “never” Recently I met memory leak in on of myĪpplication. MAT is one of most useful tool to analyze Java (or any JVM
