cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: [Summary] CVS build and java.lang.OutOfMemoryError
Date Fri, 10 Jan 2003 11:08:55 GMT
Good work, Nicola Ken!

Carsten

> -----Original Message-----
> From: Nicola Ken Barozzi [mailto:nicolaken@apache.org]
> Sent: Friday, January 10, 2003 12:03 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: [Summary] CVS build and java.lang.OutOfMemoryError
> 
> 
> 
> Antonio Gallardo wrote:
> > PROBLEM:
> > 
> > When building the CVS version of Cocoon 2.1 you get the 
> following message:
> > 
> > java.lang.OutOfMemoryError
> > 
> > BUILD FAILED
> > file:/xml-cocoon2/build.xml:1209: Compile failed; see the compiler
> > error output for details.
> > 
> > WORKAROUND:
> > Increase the amount of heap space allocated to the JVM. Add the 
> -Xmx512mb
> > parameter to the java invocation at tools/bin/ant file.
> 
> Now I think i fixed it, by setting fork=true to the javac task for the 
> blocks. This lowers the memory need for the build.
> 
> Before the memory used to build each block was not released by Ant, and 
> kept building up till the build failed.
> Now after each block build, memory is released.
> 
> Sorry for the inconvenience.
> 
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message