Good work, Nicola Ken! Carsten
> -----Original Message----- > From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 10, 2003 12:03 PM > To: [EMAIL PROTECTED] > 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 [EMAIL PROTECTED] > - verba volant, scripta manent - > (discussions get forgotten, just code remains) > --------------------------------------------------------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]