Skip to main content


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 UserFriend
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 BuchenFriend
Messages: 123
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: Fri Apr 19 08:40:02 GMT 2024

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

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

Back to the top