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