處理「 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
相關文章
相關標籤/搜索