1.下载MAT
2.下载jdk11
3.配置jdk11
MAT解压后,在MemoryAnalyzer.ini配置文件开头添加配置指向jdk11,如下:
-vm C:\Program Files\Java\jdk-11\bin\javaw.exe
4.打开dump文件遇到类似 An internal error occurred during: "Parsing heap dump 报错
MemoryAnalyzer.ini配置文件调整参数:
-Xmx4g
原文:https://www.cnblogs.com/mylittlecabin/p/15084563.html