日期:2014-05-20  浏览次数:20825 次

部署项目是老出现这种错误,求助。。谢谢
严重: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.OutOfMemoryError: PermGen space

Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError: PermGen space

------解决方案--------------------
提示说的是 内存溢出 但你不贴一点代码 叫别人怎么解决啊 贴web.xml和spring的配置文件
------解决方案--------------------
1 重启web服务,如tomcat,jboss等。
2 还不行.加大服务器上web服务的虚拟内存,一般在启动时候添加参数.-Xmn-Xms-Xmx等.具体方法搜索tomcat 虚拟机内存 或者参见http://developer.51cto.com/art/201009/227726.htm
------解决方案--------------------
http://www.examda.com/Java/zhuanye/20101031/143156146.html
楼主去好好看看这篇文章吧,也许对你有帮助。
------解决方案--------------------
怎么会内存溢出的,看看该关的有没关,例如数据库close()