0

I have modify the catalina.bat rem JAVA_OPTS "-XX:MaxPermSize=5024M". But am still getting perm gem. am using grails but deployed to tomcat as a war file. Anything I did wrongly?

user903772
  • 1,554
  • 5
  • 32
  • 55

2 Answers2

2

In windows batch files, rem at the start of a line signifies a comment. You will need to remove that for the line to have any effect on the batch file. Try using jconsole to confirm that your settings are being applied. If you are running out of memory after setting perm gen to 5Gb (which also assumes you are running a 64 bit jvm) you should check out one of the many other questions on this starting here.

Community
  • 1
  • 1
krock
  • 28,904
  • 13
  • 79
  • 85
1

Should use SET not rem. REM can be ignored. They are just comments.

user903772
  • 1,554
  • 5
  • 32
  • 55