java.lang.OutOfMemoryError: PermGen space

myshittycode.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Groovy | My Shitty Code

    myshittycode.com | 1 year ago
    java.lang.OutOfMemoryError: PermGen space
  2. 0

    October | 2013 | My Shitty Code

    myshittycode.com | 11 months ago
    java.lang.OutOfMemoryError: PermGen space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    October | 2013 | My Shitty Code

    myshittycode.com | 6 months ago
    java.lang.OutOfMemoryError: PermGen space
  5. 0

    Mixing Groovy and Java code to run on Jetty without getting "PermGen Space" error

    Stack Overflow | 3 years ago | limc
    java.lang.OutOfMemoryError: PermGen space

  1. rp 1 times, last 3 weeks ago
  2. chenjunjun 1 times, last 2 months ago
  3. tyson925 2 times, last 4 months ago
  4. kid 2 times, last 6 months ago
  5. davidvanlaatum 1 times, last 8 months ago
2 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.findBootstrapClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.findBootstrapClass(Native Method)
    2. java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:926)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    3 frames
  3. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
    2. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
    2 frames
  4. Jetty
    WebAppClassLoader.loadClass
    1. org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:407)
    2. org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
    2 frames
  5. Java RT
    Class.getDeclaredMethods
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:2475)
    3. java.lang.Class.getDeclaredMethods(Class.java:1818)
    3 frames
  6. Groovy
    CachedClass$3$1.run
    1. org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:84)
    1 frame
  7. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  8. Groovy
    ClassInfo.getMetaClass
    1. org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:81)
    2. org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:79)
    3. org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
    4. org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
    5. org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:250)
    6. org.codehaus.groovy.runtime.m12n.SimpleExtensionModule.createMetaMethods(SimpleExtensionModule.java:111)
    7. org.codehaus.groovy.runtime.m12n.SimpleExtensionModule.getMetaMethods(SimpleExtensionModule.java:93)
    8. org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerExtensionModuleFromProperties(MetaClassRegistryImpl.java:192)
    9. org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerExtensionModuleFromMetaInf(MetaClassRegistryImpl.java:174)
    10. org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerClasspathModules(MetaClassRegistryImpl.java:156)
    11. org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:111)
    12. org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:73)
    13. groovy.lang.GroovySystem.<clinit>(GroovySystem.java:33)
    14. org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:162)
    15. org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:192)
    15 frames
  9. myproject.bean
    GroovyStuff.<init>
    1. myproject.bean.GroovyStuff.$getStaticMetaClass(Stuff.groovy)
    2. myproject.bean.GroovyStuff.<init>(Stuff.groovy)
    2 frames
  10. myproject.controller
    HomeController.main
    1. myproject.controller.HomeController.main(HomeController.java:14)
    1 frame
  11. Java RT
    NativeMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2 frames