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

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

    Assuming that you've downloaded and installed Tomcat as Windows Service Installer exe file from the Tomcat homepage, then check the Apache feather icon in the systray (or when absent, run Monitor Tomcat from the start menu). Doubleclick the feather icon and go to the Java tab. There you can configure the memory.

    enter image description here

    Restart the service to let the changes take effect.

提交回复
热议问题