格式:

      jmap [option] vmid

作用:

      生成堆转储快照。

流程

      1. jmap -dump:format=b,file=文件 进程id。

      2. 使用EclipseMemoryAnalyzer等工具分析。

 

相关文章: