Obtain a Heap/Thread Dump

HeapDump:

jmap -dump:live,format=b,file=<filename>.hprof <PID>


Thread Dump:
jstack <PID> > <filename>

Share:

0 comments