开发者

How to know if you have memory size problems or if that's just the JVM growing empty?

The question is the following :

I noticed on my server that the memory is 100% ful开发者_如何学Gol.

Now does that mean that :

  • my tomcat needs to much memory, and that I should either optimize my code or add some memory to my server
  • the JVM has grown in anticipation of its content growth

The basic question is : should I be worried ?


run jvisualvm, connect it to your application VM, perform a manual GC and see if there is any memory left?


..should I be worried ?

Start worrying when the app. gets OutOfMemoryErrors.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜