Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Memory Analyzer (MAT) » cmdline way to open MAT with a dump and save reports in default format
cmdline way to open MAT with a dump and save reports in default format [message #482006] Tue, 25 August 2009 06:10 Go to next message
Eclipse User
Originally posted by: shubha.groups.gmail.com

Hi All,

Is there a way to run the MAT from cmdline with the dump file to avoid
file -> open-> dump file and to export in a default format without
navigating the menu.



Thanks
Shubha
Re: cmdline way to open MAT with a dump and save reports in default format [message #482109 is a reply to message #482006] Tue, 25 August 2009 12:18 Go to previous message
Andreas Buchen is currently offline Andreas Buchen
Messages: 113
Registered: July 2009
Senior Member
> Is there a way to run the MAT from cmdline with the dump file to avoid
> file -> open-> dump file and to export in a default format without
> navigating the menu.

On win32, just run the script

ParseHeapDump.sh <path to heap dump> [report]*

The leak report has the id org.eclipse.mat.api:suspects


To run MAT with any script, use the java command line as described here:
http://wiki.eclipse.org/index.php/MemoryAnalyzer/FAQ#How_to_ run_on_64bit_VM_while_the_native_SWT_are_32bit


To run within ANT, use an <exec /> task.
Previous Topic:Eclipse MAT JVM heap size?
Next Topic:can we use Ant to run the memory analyzer
Goto Forum:
  


Current Time: Thu Oct 30 19:02:11 GMT 2014

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

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