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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to