ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Ellsworth <sc...@alodar.com>
Subject Re: OutOfMemory during Continuous Integration
Date Fri, 26 Apr 2002 00:52:14 GMT

On Thursday, April 25, 2002, at 05:24  PM, Stephen Bartlett wrote:

> Has anybody experienced OutOfMemory exceptions when running ANT in a 
> CruiseControl environment?

Yes.

> I read a message posted to the CruiseControl mailing list that implied 
> the problem might be with <antcall>. Quote "The antcall problem comes 
> because each antcall causes the main xml file to be reloaded and 
> reparsed, and the space is not being freed."
>
> Could this be true? If so, is there a patch?

It is true, and there are many ways around it.  I chose to build my main 
build.xml from an xslt template, which creates separate targets for each 
dependency.  Thus, I do not use antcall.  I may use ant itself a few 
times, but that is the extent of it.

Scott


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message