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 HTH Darins "Brown, Carlton" <[EMAIL PROTECTED]> 01/17/2006 09:30 AM Please respond to "Ant Users List" To "Ant Users List" <user@ant.apache.org> cc Subject 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. -Carlton ***** "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