how to increase ant permgen size? I have given in ANT_OPTS as
-Xms768m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=128m
question 1)After specifying above setting in system environment, still i am getting outof memeory error for ant target for junit.
Caught an exception while logging the end of the build. Exception was:
java.lang.OutOfMemoryError: PermGen space
2) when i type in command promt to see what is path for ant_opts, echo %ant_opts% it shows only
-Xmx512m
and other parts skips. is something wrong in my path? Note: i am using command prompt to run ant target.