ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: Javac task
Date Mon, 17 Jul 2000 10:11:05 GMT

>  WR> 1. The compiler has run out of memory:
> Ant runs javac inside the same VM - so just specify more memory to the
> VM when starting Ant (either hack ant.bat or start Ant manually using
> the -mx or -Xmx option).

There is no need to hack ant.bat. Just set the environment variable JAVACMD
to whatever you want to use and then run ant. It will automatically use this
to invoke ant's virtual machine.

Tio increae memory you can use this

set JAVACMD=java -Xmx256m

The same thing should work on Unix (with the appropriate syntax bits and


View raw message