Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » How to open previous results of analyze?
How to open previous results of analyze? [message #906467] Sat, 01 September 2012 15:24 Go to next message
Krashan Brahmanjara is currently offline Krashan BrahmanjaraFriend
Messages: 3
Registered: July 2009
Junior Member
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 #907025 is a reply to message #906467] Mon, 03 September 2012 07:09 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
Use the toolbar item 'Run Expert System Test' (5th from left in toolbar), then menu item 'Open Report' to open a zipped report such as:
<dump name>_Leak_Suspects.zip
Re: How to open previous results of analyze? [message #908459 is a reply to message #907025] Wed, 05 September 2012 12:22 Go to previous messageGo to next message
Krashan Brahmanjara is currently offline Krashan BrahmanjaraFriend
Messages: 3
Registered: July 2009
Junior Member
Leak_Suspects.zip is a raport.

I thinking about files with previous analyse such as:
heapdump-1346397029421.a2s.index
heapdump-1346397029421.domIn.index
heapdump-1346397029421.domOut.index
heapdump-1346397029421.hprof.gz
heapdump-1346397029421.idx.index
heapdump-1346397029421.inbound.index
heapdump-1346397029421.index
heapdump-1346397029421.o2c.index
heapdump-1346397029421.o2hprof.index
heapdump-1346397029421.o2ret.index
heapdump-1346397029421.outbound.index
heapdump-1346397029421.threads

and I suppose everyone expect like MAT reuse that files again to quickly show previous results.
Now can't do taht?
Re: How to open previous results of analyze? [message #908685 is a reply to message #908459] Wed, 05 September 2012 20:02 Go to previous message
Krashan Brahmanjara is currently offline Krashan BrahmanjaraFriend
Messages: 3
Registered: July 2009
Junior Member
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

Previous Topic:Unable to Open Heap Dump
Next Topic:Error displaying Histogram
Goto Forum:
  


Current Time: Thu Mar 28 13:06:47 GMT 2024

Powered by FUDForum. Page generated in 0.02696 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top