ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cena, Bernard \(IT\)" <Bernard.C...@morganstanley.com>
Subject RE: heap size
Date Wed, 08 Mar 2006 10:23:06 GMT
Dinesh Sonsale wrote:
> Friends,

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:(
> 
> Best regards,
> Dinesh
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
> additional commands, e-mail: user-help@ant.apache.org
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality
or privilege, and use is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message