How to open previous results of analyze? [message #906467] |
Sat, 01 September 2012 11:24  |
Eclipse User |
|
|
|
Sometimes analyze of heap dump is very long. I see many files with results of analyze but it seems to me that MAT cannot use them if I reopen previous
dump file.
I don't see any action like "Open results".
How can I use previouse results?
|
|
|
|
|
Re: How to open previous results of analyze? [message #908685 is a reply to message #908459] |
Wed, 05 September 2012 16:02  |
Eclipse User |
|
|
|
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 16:10] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05000 seconds