How to analyse the heap dump using jmap in java

前端 未结 7 629
遇见更好的自我
遇见更好的自我 2020-12-02 12:14

I am creating heap dump using below command:

jmap -dump:file=DumpFile.txt 

I have opened the generated file - DumpF

7条回答
  •  有刺的猬
    2020-12-02 12:28

    You should use jmap -heap:format=b without any paths. So it creates a *.bin file which you can open with jvisualvm.exe (same path as jmap). It's a great tool to open such dump files.

提交回复
热议问题