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

前端 未结 6 2209
無奈伤痛
無奈伤痛 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:46

    If you are running a custom named service, you should see two executables in your Tomcat/bin directory
    In my case with Tomcat 8

    08/14/2019  10:24 PM           116,648 Tomcat-Custom.exe
    08/14/2019  10:24 PM           119,720 Tomcat-Customw.exe
                   2 File(s)        236,368 bytes
    

    Running the "w" terminated executable will let you configure Xmx in the Java tab

提交回复
热议问题