在eclipse启动tomcat运行一个web程序,报java.lang.OutOfMemoryError: PermGen space

编程入门 行业动态 更新时间:2024-10-12 05:48:16

在eclipse启动tomcat运行一个web<a href=https://www.elefans.com/category/jswz/34/1771429.html style=程序,报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

本文发布于:2023-07-02 08:53:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/988657.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:程序   web   eclipse   tomcat   java

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!