Thursday, 26 December 2013

Increase memory used by JVM for Ant builds

Sometimes for builds using Apache Ant, we come across the Out of Memory error. In order to increase the memory used by JVM for the build, do the following:

Set ANT_OPTS=-Xms256m -Xmx1024m -XX:MaxPermSize=120m

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
eXTReMe Tracker