`
447214075
  • 浏览: 77553 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

PermGen space

    博客分类:
  • java
 
阅读更多
Tomcat 官网对PermGen space内存溢出的解释:

Why does the memory usage increase when I redeploy a web application?

Because the Classloader (and the Class objects it loaded) cannot be recycled. They are stored in the permanent heap generation by the JVM, and when you redepoy a new class loader is created, which loads another copy of all these classes. This can cause OufOfMemoryErrors eventually.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics