Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已将 tomcat5.5 作为 Windows 服务安装,我需要更改 java 内存池。但是,当我输入超过 1348 mb 的任何数量时,服务不会启动。有没有办法解决这个问题?如果我以非 Windows 服务方式安装它会有帮助吗?
TIA
Windows 应用程序被限制为应用程序的 2Gb 内存,因此除了您指定的 1348Mb 之外,还有其他内存池,当然还有它自己的 JVM。
您可以在启动时指定一个 Windows 设置以允许应用程序使用 3Gb,但 sun 的 JVM 不使用它。JRockit 确实如此
或者,是否可以集群 tomcat 并分配工作负载?