You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Pier Fumagalli <pi...@betaversion.org> on 2003/01/22 12:19:33 UTC
[PATCH] Re: out of memory still building cvs
Patch (stupid patch) to the build.sh for unix I use to build on OS/X
Pier
"Gernot Koller" <gr...@gmx.at> wrote:
> Thanks Jeff!
>
> setting ANT_OPTS to "-Xms100m -Xmx400m" did the job for me!
>
> Gernot.
>
> 22-Jan-03 07:05:10, Jeff Turner <je...@apache.org> 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
>>