ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Sonsale" <Dinesh.Sons...@sas.com>
Subject RE: heap size
Date Wed, 08 Mar 2006 10:37:32 GMT
Thanks Jan for help. 

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Wednesday, March 08, 2006 4:03 PM
To: user@ant.apache.org
Subject: AW: heap size

>ANT_OPTS is an env variable that passes options to the VM.
>So do export ANT_OPTS=-Xmx640m using shell or set 
>ANT_OPTS=-Xmx640m on Win HTH
>
>> 1) How to increase heap size?
>> 
>> [Can be done by defining ANT_OPTS=-Xmx640m] is this correct?
>> 
>> 2) How to pass Memory Parameter to ANT? I have tried
>> 
>> 	c:\ant ANT_OPTS=-Xmx640m
>> 	and
>> 	c:\ant -DANT_OPTS=-Xmx640m
>> 
>> 	but no luck:(


see also the manual at
http://ant.apache.org/manual/running.html#envvars


Jan

---------------------------------------------------------------------
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


Mime
View raw message