I've seen your talk at ESE2010 and immediately liked MAT - today, I finally got the chance to try it out myself. The information you get out of a memory dump is amazing, and could be really useful in a lot of ways.
I haven't looked at the sources yet, but would it be possible to automate the report generation from a .hprof file without involving any user interface? That way, users could send us an automatically generated memory analysis, without having to know what to do with a .hprof file, or how to use MAT themselves. If that was possible, we could finally get some decent bug reports that include really useful information, instead of "it just crashed"
thanks for the good feedback!
And, Yes, it is possible to execute the reports in batch mode.
There is a script file ParseHeapDump under /mat. You can give it as parameter not only the dump to parse, but also the id of the report to be executed.
This are some comments from the script:
REM This script parses a heap dump.
REM Usage: ParseHeapDump.bat <path/to/dump.hprof> [report]*
REM The leak report has the id org.eclipse.mat.api:suspects