java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When manually deploying a new large (100-150 M) artifact, OutOfMemoryError occurs. 2009-11-11 14:32:31,987 [TP-Processor21] [ERROR] (o.a.w.RequestCycle :1153) - there was an error detaching the request from the session org.artifactory.webapp.wicket.application.ArtifactoryWebSession@143f1aa6. java.lang.OutOfMemoryError: PermGen space at java.lang.Class.getDeclaredMethods0(Native Method) [na:1.6.0_16] at java.lang.Class.privateGetDeclaredMethods(Unknown Source) [na:1.6.0_16] at java.lang.Class.getDeclaredMethod(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.access$2200(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass$2.run(Unknown Source) [na:1.6.0_16] at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_16] at java.io.ObjectStreamClass.<init>(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.lookup(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] 2009-11-11 14:33:11,071 [http-8080-4] [ERROR] (o.a.w.RequestCycle :1153) - there was an error detaching the request from the session org.artifactory.webapp.wicket.application.ArtifactoryWebSession@143f1aa6. java.lang.OutOfMemoryError: PermGen space at java.lang.Class.getDeclaredMethods0(Native Method) [na:1.6.0_16] at java.lang.Class.privateGetDeclaredMethods(Unknown Source) [na:1.6.0_16] at java.lang.Class.getDeclaredMethod(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.access$2200(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass$2.run(Unknown Source) [na:1.6.0_16] at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_16] at java.io.ObjectStreamClass.<init>(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.lookup(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeClass(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject(Unknown Source) [na:1.6.0_16] at java.util.ArrayList.writeObject(Unknown Source) [na:1.6.0_16] at sun.reflect.GeneratedMethodAccessor518.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_16] at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject(Unknown Source) [na:1.6.0_16] at java.util.ArrayList.writeObject(Unknown Source) [na:1.6.0_16] at sun.reflect.GeneratedMethodAccessor518.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_16] Exception in thread "http-8080-1" java.lang.OutOfMemoryError: PermGen space Exception in thread "TP-Processor21" java.lang.OutOfMemoryError: PermGen space Exception in thread "TP-Processor11" java.lang.OutOfMemoryError: PermGen space Exception in thread "TP-Processor13" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-8080-6" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-8080-5" java.lang.OutOfMemoryError: PermGen space java.lang.reflect.InvocationTargetException Exception in thread "main" java.lang.OutOfMemoryError: PermGen space Exception in thread "Hudson cron thread" java.lang.OutOfMemoryError: PermGen space Nov 11, 2009 2:37:24 PM org.apache.catalina.core.AprLifecycleListener init
    via by Yaniv Nachumi,
  • When manually deploying a new large (100-150 M) artifact, OutOfMemoryError occurs. 2009-11-11 14:32:31,987 [TP-Processor21] [ERROR] (o.a.w.RequestCycle :1153) - there was an error detaching the request from the session org.artifactory.webapp.wicket.application.ArtifactoryWebSession@143f1aa6. java.lang.OutOfMemoryError: PermGen space at java.lang.Class.getDeclaredMethods0(Native Method) [na:1.6.0_16] at java.lang.Class.privateGetDeclaredMethods(Unknown Source) [na:1.6.0_16] at java.lang.Class.getDeclaredMethod(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.access$2200(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass$2.run(Unknown Source) [na:1.6.0_16] at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_16] at java.io.ObjectStreamClass.<init>(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.lookup(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] 2009-11-11 14:33:11,071 [http-8080-4] [ERROR] (o.a.w.RequestCycle :1153) - there was an error detaching the request from the session org.artifactory.webapp.wicket.application.ArtifactoryWebSession@143f1aa6. java.lang.OutOfMemoryError: PermGen space at java.lang.Class.getDeclaredMethods0(Native Method) [na:1.6.0_16] at java.lang.Class.privateGetDeclaredMethods(Unknown Source) [na:1.6.0_16] at java.lang.Class.getDeclaredMethod(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.access$2200(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass$2.run(Unknown Source) [na:1.6.0_16] at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_16] at java.io.ObjectStreamClass.<init>(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.lookup(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeClass(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject(Unknown Source) [na:1.6.0_16] at java.util.ArrayList.writeObject(Unknown Source) [na:1.6.0_16] at sun.reflect.GeneratedMethodAccessor518.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_16] at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_16] at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source) [na:1.6.0_16] at java.io.ObjectOutputStream.writeObject(Unknown Source) [na:1.6.0_16] at java.util.ArrayList.writeObject(Unknown Source) [na:1.6.0_16] at sun.reflect.GeneratedMethodAccessor518.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_16] Exception in thread "http-8080-1" java.lang.OutOfMemoryError: PermGen space Exception in thread "TP-Processor21" java.lang.OutOfMemoryError: PermGen space Exception in thread "TP-Processor11" java.lang.OutOfMemoryError: PermGen space Exception in thread "TP-Processor13" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-8080-6" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-8080-5" java.lang.OutOfMemoryError: PermGen space java.lang.reflect.InvocationTargetException Exception in thread "main" java.lang.OutOfMemoryError: PermGen space Exception in thread "Hudson cron thread" java.lang.OutOfMemoryError: PermGen space Nov 11, 2009 2:37:24 PM org.apache.catalina.core.AprLifecycleListener init
    via by Yaniv Nachumi,
  • How do I get m2eclipse to recognize $M2_OPTS?
    via Stack Overflow by cwash
    ,
  • java c3p0 OutOfMemoryError PermGen space
    via Stack Overflow by phpxiaoxin
    ,
    • java.lang.OutOfMemoryError: PermGen space at java.lang.Class.getDeclaredMethods0(Native Method)[na:1.6.0_16] at java.lang.Class.privateGetDeclaredMethods(Unknown Source)[na:1.6.0_16] at java.lang.Class.getDeclaredMethod(Unknown Source)[na:1.6.0_16] at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source)[na:1.6.0_16] at java.io.ObjectStreamClass.access$2200(Unknown Source)[na:1.6.0_16] at java.io.ObjectStreamClass$2.run(Unknown Source)[na:1.6.0_16] at java.security.AccessController.doPrivileged(Native Method)[na:1.6.0_16] at java.io.ObjectStreamClass.<init>(Unknown Source)[na:1.6.0_16] at java.io.ObjectStreamClass.lookup(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeArray(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[na:1.6.0_16] at java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,