|Re: How to open previous results of analyze? [message #908685 is a reply to message #908459]
||Wed, 05 September 2012 20:02
| Krashan Brahmanjara
Registered: July 2009
It seems to be an answer. Save and copy:index files and Leak_Suspects, System_Overview and Top_Components reports; |
Below is my updated command, this will also run the Leak_Suspects, System_Overview and Top_Components reports.
<JAVA_HOME>/bin/java -XX:MaxNewSize=512m -Xmx4096m -XX:MaxPermSize=512m -XX:-UseGC
OverheadLimit -jar plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar -consoleLog -application org.eclipse.mat.api.parse <HeapFileLocation>/heap.wls1_103d121.02-15-2012.hprof org.eclipse.mat.api:suspects org.eclipse.mat.api:overview org.eclipse.mat.api:top_components
This will generate <HeapDump>_Leak_Suspects.zip, <HeapDump>_Top_Components.zip and <HeapDump>_System_Overview.zip along with the index files.
Then I have copied my heap dump, index files and zip files (reports) to my windows desktop and ran eclipse memory analyzer on windows against my heap dump. Since MAT already got index files and Leak_Suspects, System_Overview and Top_Components reports, it wont parse the heapdump again (here you can give max heap ~1GB or 512MB) and you can view all the 3 reports. I hope this will help you.
[Updated on: Wed, 05 September 2012 20:10]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01936 seconds