JVM---内存分析工具

离线工具

需要先使用 jmap 导出dump文件   

  jmap -dump:live,format=b,file=xx.hprof pid

IBM HeapAnalyzer

https://www.ibm.com/support/pages/ibm-heapanalyzer

 

 

open field -> 选择指定的 堆dump文件 

 

MAT(Eclipse Memory Analyzer Tool) 

https://www.ibm.com/support/pages/eclipse-memory-analyzer-tool-dtfj-and-ibm-extensions

The Eclipse Memory Analyzer Tool (MAT) is used for investigating Java memory issues such as OutOfMemoryErrors. 

Ecilpse MAT被用于 分析Java内存问题,比如OOM;

 

 

 

 

在线工具

arthas

profiler

https://arthas.aliyun.com/doc/profiler.html

火焰图的含义

 

 

https://blog.csdn.net/qq_43692950/article/details/122688520

 

posted on 2024-01-10 16:01  anpeiyong  阅读(53)  评论(0编辑  收藏  举报

导航