开发者

Tomcat Server Maximum Heap size (-Xmx Value ) is changed while Tomcat is Running?

开发者 https://www.devze.com 2023-01-25 00:02 出处:网络
Initially, my Tomcat is Started wit hsome Xmx Value. But it is changing with in 5 mins. But My Tomcat is 开发者_StackOverflow社区running with heavy Load.? Is it possible OS can reduce/ increase Xmx Va

Initially, my Tomcat is Started wit hsome Xmx Value. But it is changing with in 5 mins. But My Tomcat is 开发者_StackOverflow社区running with heavy Load.? Is it possible OS can reduce/ increase Xmx Value dynamically?


Your -Xmx, your MAX heap will not grow. Your CURRENT heap may grow.

For example...

You start with a -Xmx of 1g.

App starts with a heap of 256m. It may slowly grow (depending on load etc.) to 1g, but it should never pass 1g. If it needs more than 1g of memory it will crash.


Is it possible OS can reduce/ increase Xmx Value dynamically?

No

OS is not the problem, probably is your app as BalusC suggested

0

精彩评论

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