Thanks, everyone.  It worked for me too with ANT_OPTS set
to -Xms100m -Xmx228m (strange since altering tools/bin/ant should have done
the same thing, but oh well)

I didn't yet disable doc generation (although I didn't notice docs messages
in
the build but I may have dozed off there ;) )

It also seemed validation was kicking the memory up and not releasing it.
Is there a way to "fork" the validation process like the blocks?  I'll
probably
disable it next time.

Is there a general level of comfort that the build requires this much
memory??

Geoff

> -----Original Message-----
> From: Gernot Koller [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 4:45 AM
> To: [EMAIL PROTECTED]
> Subject: Re: out of memory still building cvs
>
>
> Thanks Jeff!
>
> setting ANT_OPTS to "-Xms100m -Xmx400m" did the job for me!
>
> Gernot.
>
> 22-Jan-03 07:05:10, Jeff Turner <[EMAIL PROTECTED]> wrote:
>
> >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
> >
>
>
>
>
> ---------------------------------------------------------------------
> 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