Skip to main content



      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 02: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 08:18 Go to previous message
Eclipse UserFriend
> 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: Sun Apr 20 15:15:40 EDT 2025

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

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

Back to the top