Hi,
Well, It is good idea to increase the amount of java memeory usage and heap size by using -Xms and -Xmx
-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
the java start up will look some thing like java -Xms1024 ....
To set the java vm parameter for ant, I think u should run ant manualy like this
Code:
java -Dant.home=c:\ant org.apache.tools.ant.Main [options] [target]
java -Dant.home=c:\ant org.apache.tools.ant.launch.Launcher [options] [target]
And set the -Xms options for java like this:
Code:
java -Xms1024 -Dant.home=c:\ant org.apache.tools.ant.Main [options] [target]
java -Xms1024 -Dant.home=c:\ant org.apache.tools.ant.launch.Launcher [options] [target]
Take a look at
http://ant.apache.org/manual/running.html#sysprops
May be there are other ways for setting java vm properties fo ant.
Regards,
Alireza Fattahi
--------------------------
Please rate if it helped!