How to run Eclipse memory analyzer on Mac os?

孤街醉人 提交于 2019-12-01 02:36:57

Move mat.app to ./Applications solve my problems

It looks like a permission problem with the default directory.

From this discussion : Memory Analyzer » Setting up workspace directory?.

It is indicated that you should edit your MemoryAnalyzer.ini file, and add those lines (on two separate lines, and before the vm arguments), replacing the second with the path where you want the MemoryAnalyzer to write its content:

-data
<desired path of your working directory>

This is a bug, you can run command:

1. cd mat.app/Contents/MacOS
2. ./MemoryAnalyzer 
  • Find the MemoryAnalyzer.ini file .
  • Add the following content:
-vm
<your Java1.7 path>

I was having issue running MAT(Eclipse memory analyzer) on Mac. So I have tried installing "Eclipse Memory Analyzer" plugin in Sts that I use, it worked.

You can also install MAT as plugin in Eclipse/STS that you use already.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!