Tomcat: adjust memory proportions

前端 未结 2 2089
情话喂你
情话喂你 2020-12-21 12:50

I have a Tomcat instance running on a Windows 2008 Server with 4GB of RAM. The server is dedicated to this one application, so I would quite like to be able to dedicate mos

2条回答
  •  悲&欢浪女
    2020-12-21 13:25

    Despite having a 64 bit server I only had 32 bit Java/Tomcat installed. I uninstalled Java and Tomcat and installed 64 bit versions and everything worked fine. it seems that the issue was that 32 bit Java can only address 1.5 GB.

提交回复
热议问题