I downloaded a stand-alone Eclipse Memory Analyzer from the official site, intending to use it to open a hprof file to do some analysis work. However, the application seems to get stuck after starting up. I can do nothing but drag the window, as the figure shows below:
The OS I’m using is macOS Sierra, the mat version is 1.6.1, and here is the MemoryAnalyzer.ini:
-startup
../Eclipse/plugins/. org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
-data
/Users/XXX/eclipse_data
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.300.v20150602-1417
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/bin/java
-vmargs
-Xmx2g
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XstartOnFirstThread
Can anyone give me some advice? Thanks a lot.
MemoryAnalyzer.ini
seems to be broken (or maybe copy and paste error). Are you sure you downloaded it from the official site? The current version is 1.7.0.20170613 (released June 2017). – Ashwell.ini
file, can you try to add-clean
as the first line and to change the line after-data
to/Users/XXX/eclipse_data_2
(maybe it is caused by your existing workspace)? – Ashwell-startup
right under-clean
? – Bandanna-clean
as an additional first line. If this and using a new workspace does not help, check the file/Users/XXX/eclipse_data_2/.metadata/.log
. – Ashwell.log
folder but a.plugins
folder under the.metadata
. – Bandanna.log
is not a folder, but a file that is created as soon something will be logged. As long as there is activity on the heap status, I would recommend waiting. – Ashwell.log
file still hasn’t shown up. I notice that a new folder is added under the.plugins
folder, so is it possible that MAT is undergoing the initialization process so it can’t be clicked? – Bandanna