How do I increase memory on Tomcat 7 when running as a Windows Service?

前端 未结 6 2207
無奈伤痛
無奈伤痛 2020-12-01 05:09

I am trying to run Tomcat 7 as a Windows Service (XP and Windows 7).

I see places to set the -Xmx and -Xms jvm args in catalina.bat, but I\'m not sure how to do it w

6条回答
  •  执笔经年
    2020-12-01 05:58

    //ES/tomcat -> This may not work if you have changed the service name during the installation.

    Either run the command without any service name

    .\bin\tomcat7w.exe //ES
    

    or with exact service name

    .\bin\tomcat7w.exe //ES/YourServiceName
    

提交回复
热议问题