How to make sure that Tomcat6 reads CATALINA_OPTS on Windows?

后端 未结 4 1124
被撕碎了的回忆
被撕碎了的回忆 2021-02-03 14:48

I have a Tomcat6 running on a Windows2003 machine. I deployed 2 Grails apps on this server and I soon noticed that everything was crashing sometime after the deploy with a class

4条回答
  •  走了就别回头了
    2021-02-03 15:30

    I actually set those as JAVA_OPTS for my JVM before starting the server

    JAVA_OPTS=-Djvmarg='-Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m'
    

提交回复
热议问题