From: "Jeff Turner" <[EMAIL PROTECTED]>
> 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?

The same problem here when 'webapp' target is used.
PIV 2.4Ghz, 512Mb RAM, Win2000
>
> 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.

webapp-local target works fine for me too. Try 'webapp' target instead.

See also my previous posting about setting build properties to suppress
JavaDoc and documentation generation. I've asked that to lower the memory
consumption and build time.

--
  Konstantin

>
>
> --Jeff
>
> > -Geoff Howard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to