ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferrer, Eric" <>
Subject RE: ant-user OutOfMemoryException
Date Wed, 07 Dec 2005 20:38:35 GMT
No I did not,  I have an ant build script in eclipse and it talks to
other projects build scripts via the dependencies.  A couple of the
projects become jars and the result is the output of 2 war files that
get deployed to tomcat.  

I can build fine without unit tests, but get OME on unit test only.
I have tried invoking System.gc in our interface that extends the Test
case method on its teardown.  Still get OME.

-----Original Message-----
From: Jonnalagadda, Sumithra [] 
Sent: Wednesday, December 07, 2005 1:33 PM
To: 'Ant Users List'
Subject: RE: ant-user OutOfMemoryException

Did you try setting it for reach project in your workspace seperately?.
-----Original Message-----
From: []
Sent: Wednesday, December 07, 2005 8:49 AM
Subject: ant-user OutOfMemoryException


Thanks for the reply, I honestly did not get my hope up as the community
boards (where Apache wants us to ask around first since they offer no
support) was not responsive.

I am using 1.6.2 and have even switched to 1.6.5 hoping it would solve
of my problems.  I basically inherited this role as some core project
left before i joined the company.  I did have the ANT_OPS setting but
was not working..I will try your suggestings today. 

> From: "Mikael Petterson (KI/EAB)" <>
> Date: 2005/12/07 Wed AM 01:35:27 EST
> To: <>
> Subject: RE: ant-user OutOfMemoryException
> Hi,
> Yes I resolved it. The thing is that using  ANT_OPTS  to increase Xmx
Xms does not seem to have any affect on the jvm starting ant.
> However when I increase the heap using Xmx and Xms to the jvm starting
it works! It does not seem that ANT_OPTS is recognized.
> This is the line I am using to start ant in my wrapper shell script:
-classpath "${ANT_HOME}/lib/ant-launcher.jar" "-Dant.home=${ANT_HOME}" -lib $JUNIT  $*
> Don't mind the Xbootclasspath. 
> If you have any luck let me know.I am using ant 1.6.2. Which version
you using?
> please post to and cc me. I will assist as much as
> cheers,
> //mikael
> -----Original Message-----
> From: []
> Sent: den 7 december 2005 01:01
> To: Mikael Petterson (KI/EAB)
> Subject: ant-user OutOfMemoryException
> Hi Mikael,
> I saw your post about OutOfMemoryException with Ant.  Did you ever get
resolved?  I have a similar issue but when running JUNIT Tests during
build process.
> Thanks
> -Eric

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message