ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darin Swanson <>
Subject Re: Setting memory options for Ant in Eclipse
Date Tue, 17 Jan 2006 17:40:01 GMT
Are you running Ant in the same or separate JRE from Eclipse? See you JRE 
tab for your Ant launch configuration.

For same JRE as Eclipse launch Eclipse with -Xmx and -Xms options set

For separate JRE, specify the VM arguments on the JRE tab for your Ant 
launch configuration.

Likely in the future you should ask these Eclipse specific questions in 
the Eclipse newsgroup forums


"Brown, Carlton" <> 
01/17/2006 09:30 AM
Please respond to
"Ant Users List"

"Ant Users List" <>

Setting memory options for Ant in Eclipse

Hi all,


When running Ant from Eclipse, how does one set the -Xmx and -Xms memory
options inside Eclipse?  I've poked around and cannot seem to do it.
(This is to fix OutOfMemory exceptions that occur when I use the
<depend> task.)


I've tried launching Eclipse with -Xmx and -Xms options set.  I
understand this is normally set by using ANT_OPTS.  I looked in the
Windows/Preferences/Ant menu and at some other options but didn't see
anywhere in Eclipse to configure this.


Any help is appreciated.




"The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential, proprietary, and/or 
privileged material.  Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is prohibited.  If 
you received this in error, please contact the sender and delete the 
material from all computers."  118

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