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???
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.
来源:https://stackoverflow.com/questions/47909239/how-to-run-eclipse-memory-analyzer-on-mac-os