ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: javac
Date Mon, 19 Feb 2001 10:21:27 GMT
Craig,

Ant runs Javac in Ant's VM, so in addition to the javac classes, you have
Ant's own classes. I don't think its a huge memory overhead but maybe it is
enough to tip your compilation over the edge. You can set the JAVACMD
environment variable to increase Ant's memory

setting JAVACMD=java -Xmx256m

should do it. (assuming a Windows system with JDK 1.2+, adjust as
appropriate for other systems and memory sizes)

Conor


----- Original Message -----
From: "Craig Aranjo" <craig@metadyne.uk.com>
To: <ant-user@jakarta.apache.org>
Sent: Monday, February 19, 2001 8:44 PM
Subject: javac


>
> Hi
>
> Whenever i use the 'javac' command to compile a list of source files, i
> always get an 'out of memory' error with ANT (I am trying to compile
> approx. a 1000 source files). However, when i use javac without ANT it
> works perfectly fine.
>
> Any ideas?
>
> Craig
>
>
>
>


Mime
View raw message