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
[EMAIL PROTECTED]
Cortex eBusiness
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Thomas Michel [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 16 January 2001 7:56
> To: [EMAIL PROTECTED]
> 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.
>
>

Reply via email to