java.lang.OutOfMemoryError: PermGen space

Server Fault | erdimeola | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Tomcat on port 80 fails due to OutOfMemoryError while Tomcat on port 8080 works

    Server Fault | 4 years ago | erdimeola
    java.lang.OutOfMemoryError: PermGen space
  2. 0

    facing perm gen space error in weblogic

    Stack Overflow | 4 years ago
    java.lang.OutOfMemoryError: PermGen space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. linxiaolong 1 times, last 8 months ago
6 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:791)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    3 frames
  3. Glassfish Core
    ContainerBase.startInternal
    1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2820)
    2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1150)
    3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
    4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
    5. org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2006)
    6. org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1969)
    7. org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1858)
    8. org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1826)
    9. org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1812)
    10. org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1306)
    11. org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)
    12. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)
    13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    14. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    15. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
    16. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    17. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
    18. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
    19. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
    20. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055)
    21. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)
    22. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
    23. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)
    24. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    25. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    26. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    27. org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:389)
    28. org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:334)
    29. org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
    29 frames