How can I analyze a heap dump in IntelliJ? (memory leak)

前端 未结 7 1069
忘了有多久
忘了有多久 2021-01-31 01:43

I have generated a heap dump from my java application which has been running for some days with the jmap tool -> this results in a large binary heap dump file.

7条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-31 02:09

    You can just run "Java VisualVM" which is located at jdk/bin/jvisualvm.exe

    This will open a GUI, use the "File" menu -> "Load..." then choose your *.hprof file

    That's it, you're done!

提交回复
热议问题