ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: -J option <javac> task question
Date Tue, 29 Apr 2003 23:59:38 GMT
If you have a "large codebase", why not set memoryMaximumSize higher?  512?

-----Original Message-----
From: Nisha Pillai [mailto:npillai@teja.com]
Sent: Tuesday, April 29, 2003 7:55 PM
To: Ant Users List
Subject: Re: -J option <javac> task question


William,
   Thanks for your input. This worked. But I'm looking for a way to just 
have my buildfile take care of everything required for compilation. Can 
I set ANT_OPTS from within the buildfile?
- Nisha.

Lopez, William wrote:

>Nisha:
>
>...also you have the option of setting this property: ANT_OPTS=-Xmx128m.
>
>HTH
>
>-----Original Message-----
>From: Stefan Bodewig [mailto:bodewig@apache.org] 
>Sent: Tuesday, April 29, 2003 1:20 AM
>To: user@ant.apache.org
>Subject: Re: -J option <javac> task question
>
>
>On Mon, 28 Apr 2003, Nisha Pillai <npillai@teja.com> wrote:
>
>  
>
>>Yes, I get an OutOfMemoryError.
>>    
>>
>
>Run ant -debug and take a look at the javac command line Ant uses (it is
>printed in the very long logfile you'll receive).  Does it contain the
-J-mx
>setting you expect?
>
>Stefan
>
>---------------------------------------------------------------------
>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
>
>
>  
>



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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message