ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura" <stepan.mish...@gmail.com>
Subject Re: Frequent java.lang.OutOfMemoryError: Java heap space error
Date Tue, 11 Dec 2007 11:16:13 GMT
On 12/10/07, Ravi Roy <ravi.aroy@gmail.com> wrote:
> Hello all,
>
> I am running my product build with cruisecontrol using ant 1.7.0.

Our testing infra hit the same problem with ANT 1.6.5.
As workaround the infra forks ANT build in a separate process.

Thanks,
Stepan.

I have set
> ANT_OPTS=-Xms=1536m -Xmx1536m, but still I am getting below mentioned error,
> I have searched mail archive, but I see ANT_OPTS settings, which I have
> already set, I get the following error :
>
>    [javac] The system is out of resources.
>    [javac] java.lang.OutOfMemoryError: Java heap space
>
> Am I doing right to set ANT_OPTS variable to increase the heap size ? I am
> running my build machine using Windows XP with 2.0 Gigabyte of physical RAM.
>
> Does somebody know how to handle this ? It is more frequent now.
>
> Thanks in adavnace for thoughts.
>
> Regards,
> Ravi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message