[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mat-dev] MAT API in a command line tool
|
If your analysis can just be done as an MAT query or queries then you can
write a simple XML file to run the queries.
See org.eclipse.mat.api/META-INF/reports
overview.xml
suspects.xml
top_components.xml
for examples. I haven't seen a formal definition of our XML report
definition format, but you should be able to work it out.
See menu option
Run Expert System Test -> Run Report
to test your XML, then you should be able to start MAT in batch mode and
pass the path to your dump and your XML file.
Andrew Johnson
From:
Jevgeni Kabanov <ekabanov@xxxxxxxxx>
To:
mat-dev@xxxxxxxxxxx
Date:
14/03/2010 19:52
Subject:
[mat-dev] MAT API in a command line tool
Sent by:
mat-dev-bounces@xxxxxxxxxxx
Hi guys,
I want to build a small command-line analysis tool using the MAT APIs. I
found the following page:
http://wiki.eclipse.org/index.php/MemoryAnalyzer/FAQ#How_to_run_on_64bit_VM_while_the_native_SWT_are_32bit
Does this mean that I should build my own OSGi bundle/application that
would depend on the headless parts of MAT and use the API to analyze the
heap? What would be a good place to start? Did anyone have any experiences
building command line tools with MAT that you could point me to?
Thanks!
Jevgeni Kabanov: Founder & CTO at ZeroTurnaround
jevgeni@xxxxxxxxxxxxxxxxxx | Skype: ekabanov | http://twitter.com/ekabanov
"Google Collections and JRebel combine to make Java more pleasant to work
with." - greg
_______________________________________________
mat-dev mailing list
mat-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mat-dev
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU