ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From glenn opdycke-hansen <glenn...@gmail.com>
Subject Re: OutOfMemory exception after introducing <depend> task
Date Sun, 18 Dec 2005 04:10:50 GMT
The -Xmx option (max heap) will avoid the OOME.
However it is not recommended setting the -Xms (initial heap) to the same
value as max.

--glenn

On 12/16/05, Ivan Ivanov <rambiusparkisanius@yahoo.com> wrote:
>
> Hello,
>
> you might want to take a look at ANT_OPTS environment
> variable [1] combined with -Xmx or -Xms java options:
>
> export ANT_OPTS=-Xmx512m -Xms512m
>
> Regards
> Ivan
>
> [1]http://ant.apache.org/manual/running.html#envvars
>
> --- "Brown, Carlton" <Carlton.Brown@BellSouth.com>
> wrote:
>
> > Anybody ever get an OutOfMemory exception after
> > introducing the <depend>
> > task into their build?
> >
> >
> >
> > Where and how exactly do I increase my memory to
> > avoid this exception?
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message