|
| Re: can we use Ant to run the memory analyzer [message #482112 is a reply to message #482007] |
Tue, 25 August 2009 08:20  |
Andreas Buchen Messages: 113 Registered: July 2009 |
Senior Member |
|
|
> How can we use Ant to run the memory analyzer?
Be sure to update it to the right version numbers, but something like this
should work:
<java classname="org.eclipse.equinox.launcher.Main" fork="true"
failonerror="true">
<arg value="-application" />
<arg value="org.eclipse.mat.api.parse" />
<arg value="path/to/dump" />
<arg value="org.eclipse.mat.api:suspects" />
<classpath>
<pathelement
location=" ${matLocation}/plugins/org.eclipse.equinox.launcher_${equino xLauncherPluginVersion}.jar "
/>
</classpath>
</java>
|
|
|
Powered by
FUDForum. Page generated in 0.01502 seconds