我正在開發一個使用java的應用程序,我正在使用GlassFish服務3+作爲我的容器,有時候當我運行我的應用程序運行到以下錯誤時,我不知道會是什麼原因,爲什麼我收到java.lang.OutOfMemoryError:PermGen空間錯誤?>
type Exception report
message
descriptionThe server encountered an internal error() that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: PWC1243: Filter execution threw an exception
root cause
java.lang.OutOfMemoryError: PermGen space
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2.2 logs.
看一看這個[鏈接](http://stackoverflow.com/questions/7683434/permgen-space-error-glassfish-server).Somebody已經問過類似的題。 – aksappy 2013-02-19 05:32:00
它不會對內存泄漏有幫助 - 但是可能有趣的是,Java 8已經取消了Perm Gen. – Fortyrunner 2014-04-28 04:18:19