开发者

tomcat as windows service - increase max java heap memory

开发者 https://www.devze.com 2022-12-21 19:19 出处:网络
i have tomcat5.5 installe开发者_如何学Pythond as a windows service, and I need to change the java memory pool. however, when i enter any amount more than 1348 mb, the service doesn\'t start.

i have tomcat5.5 installe开发者_如何学Pythond as a windows service, and I need to change the java memory pool. however, when i enter any amount more than 1348 mb, the service doesn't start. IS there any way to get around this? Would it help if I installed it the non-windows-service way?

TIA


A windows application is limited to 2Gb of memory for the application, so as well as 1348Mb you have specified there are teh other memory pools and of course the JVM it's self.

There is a windows setting you can specify at boot time to allow an application to use 3Gb, but sun's JVM does not play ball with it. JRockit does though

Alternately would it be possible to cluster tomcat and distribute the work load?

0

精彩评论

暂无评论...
验证码 换一张
取 消