【随手记录】关于调整MAT配置
在用MAT分析内存问题时候,报错内存不足
An internal error occurred during: "Parsing heap dump from '/seata_logs/java_heapdump.hprof'".
Java heap space
对于Mac系统下可以在路径/Applications/mat.app/Contents/Eclipse/ 找到配置文件MemoryAnalyzer.ini 修改内存大小:
-startup ../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar --launcher.library ../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.700.v20180518-1200 -vmargs -Xmx4096m -Dorg.eclipse.swt.internal.carbon.smallFonts -XstartOnFirstThread