Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Memory Analyzer (MAT) » can we use Ant to run the memory analyzer
can we use Ant to run the memory analyzer [message #482007] Tue, 25 August 2009 06:12 Go to next message
Eclipse User
Originally posted by: shubha.groups.gmail.com

How can we use Ant to run the memory analyzer?
Re: can we use Ant to run the memory analyzer [message #482112 is a reply to message #482007] Tue, 25 August 2009 12:20 Go to previous message
Andreas Buchen is currently offline 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>
Previous Topic:cmdline way to open MAT with a dump and save reports in default format
Next Topic:Analyzing from 64bit to 32bit
Goto Forum:
  


Current Time: Thu Oct 23 05:30:00 GMT 2014

Powered by FUDForum. Page generated in 0.01558 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software