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 -Xm
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 OutOfMem
Anybody ever get an OutOfMemory exception after introducing the
task into their build?
Where and how exactly do I increase my memory to avoid this exception?