0 Replies Latest reply on Aug 25, 2009 9:19 AM by 843829

    java jvm server mode memory leak out of memory crash


      I am using java version "1.6.0_13" on a windows 2003 server.

      I am running apache-tomcat-6.0.18 PermSize:256M HEAP:1G

      If tomcat is started with java with client mode vm, the site works very well!
      Requests are processed without problems and memory heap will stabilize on 500M.

      I like to use the server mode. If I start the tomcat with server mode, then
      the web application work better (30% faster), but memory heap will increase
      increase more than the 500M about the 1G and then the tomcat process crash.


      A) Is normal that memory will increase? If client mode need 500M then 1G for
      server mode is not enought? Should I increase the heap? How much?
      B) Is a know problem? Is server option for windows not good supported?

      I have double checked the problem. If I return to the client mode then the
      tomcat will run without problem (excluding some software change problems)

      No use of native code (JNI).

      C) How to track better what happens in server mode? If there is a bug or is normal?

      Please help me. Thanks in advance.