处理“ java.lang.OutOfMemoryError:PermGen空间”错误

问题:

Recently I ran into this error in my web application: 最近,我在Web应用程序中遇到此错误: java

java.lang.OutOfMemoryError: PermGen space java.lang.OutOfMemoryError:PermGen空间 web

It's a typical Hibernate/JPA + IceFaces/JSF application running on Tomcat 6 and JDK 1.6. 这是在Tomcat 6和JDK 1.6上运行的典型Hibernate / JPA + IceFaces / JSF应用程序。 Apparently this can occur after redeploying an application a few times. 显然,这多是在从新部署应用程序几回以后发生的。 app

What causes it and what can be done to avoid it? 是什么缘由引发的,能够采起什么措施避免它发生? How do I fix the problem? 我该如何解决该问题? this


解决方案:

参考一: https://stackoom.com/question/Mx9/处理-java-lang-OutOfMemoryError-PermGen空间-错误
参考二: https://oldbug.net/q/Mx9/Dealing-with-java-lang-OutOfMemoryError-PermGen-space-error
相关文章
相关标签/搜索