[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.memory-analyzer] Re: cmdline way to open MAT with a dump and save reports in default format

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.