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???
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
This is a bug, you can run command:
1. cd mat.app/Contents/MacOS
2. ./MemoryAnalyzer
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>
MemoryAnalyzer.ini
file .-vm
<your Java1.7 path>
/bin
suffix –
Eldreeda export JAVA_HOME="/Users/matschaffer/.asdf/installs/java/oracle-17"; open /Applications/mat.app
did. –
Onanism One more solution is to
open mat.app --args -data ~/<your-folder>
Does the latest Eclipse Memory Analyzer snapshot build work better for you? This is a signed and notarized dmg not a zip so might be easier to install.
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.
adding a quick reference for people using sdkman,
$JAVA_HOME is set to
/Users/{yourusername}/.sdkman/candidates/java/current/
now modify the startup config for the program
nano /Applications/MemoryAnalyzer.app/Contents/Eclipse/MemoryAnalyzer.ini
add the following two separate lines before any vmargs
-vm
<the-value-of-your-java-home>/bin
© 2022 - 2024 — McMap. All rights reserved.