I have a problem with a junit ant build, i\'m getting a java.lang.OutOfMemoryError: PermGen space error.
junit
java.lang.OutOfMemoryError: PermGen space
I\'m trying to set ANT_OPTS
ANT_OPTS
Also, u can add memory option in the build file also, like memoryInitialSize="256m" memoryMaximumSize="512m". this will help. as i am using the same, and it caused no problem till now.
memoryInitialSize="256m" memoryMaximumSize="512m"
Set the JAVA OPTIONS as -Xmx512m -XX:MaxPermSize=256m only without the ANT_OPTS=
-Xmx512m -XX:MaxPermSize=256m
ANT_OPTS=