MemoryAnalyzer.exe <heap dump> <report id>
<!ELEMENT extension (report)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
><!ELEMENT report EMPTY>
<!ATTLIST report
id CDATA #REQUIRED
name CDATA #REQUIRED
file CDATA #REQUIRED
description CDATA #IMPLIED
>Following is an example of a report declaration:
<extension point="org.eclipse.mat.report.report"> <report id="suspects" name="Leak Suspects" description="includes leak suspects and a system overview" file="META-INF/reports/suspects.xml" /> </extension>
Following is a sample report:
<section name="Leak Suspects"> <section name="System Overview"> <param key="html.separate_file" value="true" /> <template>org.eclipse.mat.api:overview</template> </section> <query name="Leaks"> <command>leakhunter</command> </query> </section>In short: sections contain other sections or queries. Queries specify the command to be run. Sections can contain a template element which specifies another report to be included here.
Copyright (c) 2008,2010 SAP AG and IBM Corporation.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/