How to run Eclipse memory analyzer on Mac os?

送分小仙女□ 提交于 2019-12-19 05:08:41

问题


I have some issues with running Eclipse memory analyzer on my laptop.

This happen when i have just downloaded(from the place) and executed application:

And i can't figure out what is the cause of problem. Can someone help me???


回答1:


Move mat.app to ./Applications solve my problems




回答2:


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>



回答3:


This is a bug, you can run command:

1. cd mat.app/Contents/MacOS
2. ./MemoryAnalyzer 



回答4:


  • Find the MemoryAnalyzer.ini file .
  • Add the following content:
-vm
<your Java1.7 path>



回答5:


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.



来源:https://stackoverflow.com/questions/47909239/how-to-run-eclipse-memory-analyzer-on-mac-os

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