ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Petterson \(KI/EAB\)" <mikael.petter...@ericsson.com>
Subject possible to use profiler on ant
Date Tue, 05 Apr 2005 07:02:56 GMT
Hi,

I am using ant for build and test our java application. We run into 'java.lang.OutOfMemory'
problems when running junit tests.
I have made a number of changes without any luck:

- Unset classpath
- increase ANT Xms and Xmx via ANT_OPTS env. variable.
- Using fork in javac.
- Increase Xmx in javac.
- Increased Xmx in junit-target.

I am now willing to try to find out where most of my memory is comsumed using a profiler (
if possible).

I am using netbeans and their profiler.

Q: Is it possible to profile a jar file? 

Q2: Anyone tried that on Ant?

Q3: I am using 1.6 features. Could that slow down my build and generate java.lang.OutOfMemory?

I atttach my common.xml

 <<common.xml>>  

All hints are very much appreciated!

//Mikael

Mime
View raw message