当前位置: 代码迷 >> J2EE >> javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space,该怎么解决
  详细解决方案

javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space,该怎么解决

热度:385   发布时间:2016-04-22 02:35:51.0
javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
action.Control.doGet(Control.java:59)
action.Control.doPost(Control.java:77)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause 

java.lang.OutOfMemoryError: PermGen space


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.


--------------------------------------------

Apache Tomcat/6.0.16

------解决方案--------------------
tomcat启动的时候把启动内存配置的大一点
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/search?q=317
  相关解决方案