|
Re: Post-mortem analysis [message #638744 is a reply to message #638742] |
Fri, 12 November 2010 07:54  |
Eclipse User |
|
|
|
Hi Martin,
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
REM This script parses a heap dump.
REM
REM Usage: ParseHeapDump.bat <path/to/dump.hprof> [report]*
REM
REM The leak report has the id org.eclipse.mat.api:suspects
REM
If you create your own reports, you can execute them the same way. The wiki pages about extending MAT are still in construcition, but I believe they are to some extend usable. You can find the links at the bottom here:
http://wiki.eclipse.org/index.php?title=MemoryAnalyzer/Contr ibutor_Reference#Writing_plugins_for_the_Memory_Analyzer
Let me know if this helps.
Krum
|
|
|
Powered by
FUDForum. Page generated in 0.03264 seconds