You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Anderson, James H [IT]" <ja...@citigroup.com> on 2003/06/10 21:18:31 UTC
How do I increase the memory available to Ant?
I'm using dbunit and getting blown out of the water with an out-of-memory
error. How do I increase available memory?
Thanks,
jim
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: How do I increase the memory available to Ant?
Posted by Sebastien Blanc <Se...@alcatel.com>.
few leads:
- use a custom ant.bat (or ant.sh) startup script and add the -Xmx (-Xms)
memory pool options
- use 1.4 if not already using it
- fork your javac/java calls and generally tasks the attribute is available
(if dbunit is the problem, embed the task into a forked <ant> call).
seb.
"Anderson, James H [IT]" wrote:
> I'm using dbunit and getting blown out of the water with an out-of-memory
> error. How do I increase available memory?
>
> Thanks,
>
> jim
>
> ---------------------------------------------------------------------
> 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
RE: How do I increase the memory available to Ant?
Posted by Bin Chen <bi...@bea.com>.
set ANT_OPTS=-Xmx128m
-----Original Message-----
From: Anderson, James H [IT] [mailto:james.h.anderson@citigroup.com]
Sent: Tuesday, June 10, 2003 12:19 PM
To: 'Ant Users List'
Subject: How do I increase the memory available to Ant?
I'm using dbunit and getting blown out of the water with an out-of-memory
error. How do I increase available memory?
Thanks,
jim
---------------------------------------------------------------------
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