Antonio Gallardo wrote:
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.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.
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]