Monday, September 19, 2016

How to install and run eclipse Memory Analyzer MAT on windows 64 bit


1. Download the tool from http://www.eclipse.org/mat/downloads.php
select Windows (x86_64) for windows 64 bit OS.
2. Unzip the folder and go to "MemoryAnalyzer-1.6.0.20160531-win32.win32.x86_64\mat" folder
3. Now download a 64 bit jdk for windows, which can be found at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
4. Accept the license and choose exe of x64
Windows x64    193.68 MB      jdk-8u101-windows-x64.exe
5. Install the exe to any desired path, i have installed it under
C:\Program Files\Java\jdk1.8.0_101\bin
6. Now go back to "MemoryAnalyzer-1.6.0.20160531-win32.win32.x86_64\mat" folder and edit
MemoryAnalyzer.ini file
7. add a -vm at the bottom and place the path of newly installed jdk as shown below (ensure there are no spaces)
8. add a xmx argument as well to increase footprint on RAM, 12GB should suffice.

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-vm
C:\Program Files\Java\jdk1.8.0_101\bin\javaw.exe
-vmargs
-Xmx12288m


 9. save the ini file and open the MemoryAnalyzer.exe
10. Close out outlook, antivirus and all open folders to save memory. 
11. file - open heap dump - file type make it "all files", select the heapdump and click open.

1 comment:

Blogger said...

If you want your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (even if they're dating somebody else now) you got to watch this video
right away...

(VIDEO) Why your ex will NEVER come back...