java.lang.OutOfMemoryError: PermGen space

Oracle Community | j_kirby | 9 years ago
  1. 0

    PermGen error on Glassfish v2ur1

    Oracle Community | 9 years ago | j_kirby
    java.lang.OutOfMemoryError: PermGen space
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Tomcat - Unable to compile class for JSP

    Stack Overflow | 4 years ago | Sayo Oladeji
    java.lang.OutOfMemoryError: PermGen space

  1. linxiaolong 1 times, last 4 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    PermGen space

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    SecureClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    3 frames
  3. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:961)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1423)
    2 frames
  4. GWT dev
    JspDocumentParser.startElement
    1. org.apache.jasper.compiler.JspDocumentParser.parseCustomAction(JspDocumentParser.java:1190)
    2. org.apache.jasper.compiler.JspDocumentParser.startElement(JspDocumentParser.java:429)
    2 frames
  5. Java RT
    SAXParser.parse
    1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
    2. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
    3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
    4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    5. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    7. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    8. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    9. javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    9 frames
  6. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:203)
    2. org.apache.jasper.compiler.ParserController.doParse(ParserController.java:208)
    3. org.apache.jasper.compiler.ParserController.parse(ParserController.java:124)
    4. org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:184)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:409)
    6. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
    7. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
    8. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
    9. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
    9 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    1 frame
  8. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
    2. org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366)
    6 frames