Reputation: 462
Tomcat simply can`t start if I allocate more than 1 Gb memory, althoug I have 6 Gb free RAM space on the server.
Give me please any advice. I have tomcat 6.0.35, grails 2.0.1, jdk 1.6.0_35
Upvotes: 1
Views: 9799
Reputation: 462
Now i have JAVA_OPTS="-server -XX:MaxPermSize=512M -Xms2048M -Xmx2048M -Xss64M -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled" in catalina.bat (suggested by chrome). It seems that all works fine. In the prev conf i had only -Xms2048M -Xmx2048M options.
Than you guys for the help!
Upvotes: 2
Reputation: 659
Did you edit SET "JAVA_OPTS=-Xms1024m -Xmx2048m" line in bin/catalina.bat?
Upvotes: 1