On Wed, Jan 22, 2003 at 12:26:53AM -0500, Geoff Howard wrote: > Even after the fork=true change (last check out was yesterday or today), I'm > continuing to get out of memory errors on the build. > > I'm using a 350 mhz PC with windows 2k and 384M ram. > I've tried adding -Xmx228m to > - tools/bin/ant, > - on the build command line as -D option, and > - as a JAVA_OPTS environment variable > with no effect.
Setting ANT_OPTS is the right way to do it, I think. set ANT_OPTS=-Xmx228m > Tracking memory usage, it seems the java process is only using about 84 meg > when it dies (around the -swf-block-project/jfor-block stage) which means > maybe I've not found the right way to make more memory available. > > Any advice? Are there others with similar setups having/not having > problems? I've built Cocoon a couple of times today without problems, using './build.sh -Dinclude.webapp.libs=yes webapp-local'. This is with JDK1.4.1 on Debian. --Jeff > -Geoff Howard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]