Java Class (PermGen) Memory Leak (Web Applications) - Generic Solution?

前端 未结 4 1766
野趣味
野趣味 2021-01-01 21:44

I have a perm gen memory leak, that I know. Profiling using jvisualvm shows that when doing hot deployment (e.g. stop and start an application without killing the JVM, in to

4条回答
  •  孤城傲影
    2021-01-01 22:25

    There is an unsatisfiying but easy solution: Don't hotdeploy in production environments. You could setup a cluster of two servlet containers and them update one at a time with a restart.

提交回复
热议问题