问题:
Recently I ran into this error in my web application: 最近,我在Web应用程序中遇到此错误:
java.lang.OutOfMemoryError: PermGen space java.lang.OutOfMemoryError:PermGen空间
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. 显然,这可能是在重新部署应用程序几次之后发生的。
What causes it and what can be done to avoid it? 是什么原因引起的,可以采取什么措施避免它发生? How do I fix the problem? 我该如何解决该问题?
解决方案:
参考一: https://stackoom.com/question/Mx9/处理-java-lang-OutOfMemoryError-PermGen空间-错误参考二: https://oldbug.net/q/Mx9/Dealing-with-java-lang-OutOfMemoryError-PermGen-space-error
来源:oschina
链接:https://my.oschina.net/u/4428122/blog/4309392