ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Sending -J-mx128m to Javac Task
Date Fri, 27 Apr 2001 06:14:04 GMT
<twm139@its.to> wrote:

> I am running ant 1.2 and I am trying to send a command line arg to
> it.  Specifically to increase memory heap size.

Ant runs javac in the same VM Ant is runing in, so you need to
increase the heap size for Ant itself

You can do that by setting the environment variable JAVA_CMD to 
java -mx128m before invoking Ant.

Stefan

Mime
View raw message