ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@ebinteractive.com.au>
Subject RE: Ant, javac arg -J-mx
Date Tue, 16 Jan 2001 02:48:25 GMT
Thomas,

Ant does not run javac as a separate VM but loads the javac classes into the
Ant VM and executes them directly. If you need more memory you will need to
give Ant more memory. You can do that by setting the JAVACMD environment
variable.

set JAVACMD=java -Xmx256m

for example. (Change to your operating system conventions as needed.)

Conor


--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Thomas Michel [mailto:th.michel@gmx.net]
> Sent: Tuesday, 16 January 2001 7:56
> To: ant-user@jakarta.apache.org
> Subject: Ant, javac arg -J-mx
>
>
> Hi and sorry for my english, i am a beginner.
>
> <<Question to Ant1.2>>
>
> I am looking for a way to pass the command line argument "-J-mx" to
> javac in the javac task.
>
> Thanks for your work.
>
> Bye Thomas.
>
>


Mime
View raw message