开发者

tomcat as windows service - increase max java heap memory

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜