Tomcat on production server, PermGen and redeploys

前端 未结 7 766
臣服心动
臣服心动 2021-02-01 05:51

It looks like

 MemoryError: PermGen space
 java.lang.OutOfMemoryError: PermGen space

is a common problem. You can Increase the size of your pe

相关标签:
7条回答
  • 2021-02-01 06:34

    You should enable PermGen garbage collection. By default Hotspot VM does NOT collect PermGen garbage, which means all loaded class files remain in memory forever. Every new deployment loads a new set of class files which means you eventually run out of PermGen space.

    0 讨论(0)
提交回复
热议问题