Thanks Jan for help. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 4:03 PM
To: [email protected]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to