ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Memory and Ant
Date Tue, 23 Oct 2007 14:31:30 GMT
	basically it needs to be passed as an argument to java.exe.
In ANT it can be accomplished, if you add "maxmemory=128m" to the tasks.

If you run ant with -v (verbose) option you would see that "maxmemory=128m" translates into
java.exe -Xmx128m.


To go far, explore first what is near..

-----Original Message-----
From: Knuplesch, Jürgen [] 
Sent: Tuesday, October 23, 2007 9:56 AM
Subject: Memory and Ant


Is it possible to increase the memory of an Ant-Buildprocess via "-Xmx128m" and where do I
have to put it?

My Buildprocess quits with a java.lang.OutOfMemoryError Message.


Jürgen Knuplesch          
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                    
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 

To unsubscribe, e-mail: For additional commands, e-mail:

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message