Skip to main content


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 UserFriend
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 BuchenFriend
Messages: 123
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: Fri Apr 26 14:40:43 GMT 2024

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

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

Back to the top