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
Set ANT_OPTS=-Xms256m -Xmx1024m -XX:MaxPermSize=120m
No comments:
Post a Comment