程序,报java.lang.OutOfMemoryError: PermGen space"/>
在eclipse启动tomcat运行一个web程序,报java.lang.OutOfMemoryError: PermGen space
错误如下:
2017-3-20 16:41:14 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet default threw exception
java.lang.OutOfMemoryError: PermGen space
2017-03-20 16:41:18,599 INFO [org.jbpm.pvm.internal.jobexecutor.DispatcherThread] - <DispatcherThread leaves cyberspace>
Exception in thread "DispatcherThread" java.lang.OutOfMemoryError: PermGen space
本人在eclipse配置完tomcat,然后再tomcat中启动一个web项目,刚打开一个登陆界面,点击登陆,就报这个错误。郁闷。。。
1、设置内存大小试试看(第一种是在tomcat文件里设置,另一种是在eclipse的tomcat启动时配置。
更多推荐
在eclipse启动tomcat运行一个web程序,报java.lang.OutOfMemoryError: PermGen space
发布评论