java.lang.OutOfMemoryError: PermGen space

JFrog JIRA | Yaniv Nachumi | 7 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

    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

    JFrog JIRA | 7 years ago | Yaniv Nachumi
    java.lang.OutOfMemoryError: PermGen space
  2. 0

    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

    JFrog JIRA | 7 years ago | Yaniv Nachumi
    java.lang.OutOfMemoryError: PermGen space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      PermGen space

      at java.lang.Class.getDeclaredMethods0()
    2. Java RT
      ObjectOutputStream.writeSerialData
      1. java.lang.Class.getDeclaredMethods0(Native Method)[na:1.6.0_16]
      2. java.lang.Class.privateGetDeclaredMethods(Unknown Source)[na:1.6.0_16]
      3. java.lang.Class.getDeclaredMethod(Unknown Source)[na:1.6.0_16]
      4. java.io.ObjectStreamClass.getInheritableMethod(Unknown Source)[na:1.6.0_16]
      5. java.io.ObjectStreamClass.access$2200(Unknown Source)[na:1.6.0_16]
      6. java.io.ObjectStreamClass$2.run(Unknown Source)[na:1.6.0_16]
      7. java.security.AccessController.doPrivileged(Native Method)[na:1.6.0_16]
      8. java.io.ObjectStreamClass.<init>(Unknown Source)[na:1.6.0_16]
      9. java.io.ObjectStreamClass.lookup(Unknown Source)[na:1.6.0_16]
      10. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      11. java.io.ObjectOutputStream.writeArray(Unknown Source)[na:1.6.0_16]
      12. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      13. java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[na:1.6.0_16]
      14. java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16]
      15. java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[na:1.6.0_16]
      16. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      17. java.io.ObjectOutputStream.writeArray(Unknown Source)[na:1.6.0_16]
      18. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      19. java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[na:1.6.0_16]
      20. java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16]
      21. java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[na:1.6.0_16]
      22. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      23. java.io.ObjectOutputStream.writeArray(Unknown Source)[na:1.6.0_16]
      24. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      25. java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[na:1.6.0_16]
      26. java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16]
      27. java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[na:1.6.0_16]
      28. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      29. java.io.ObjectOutputStream.writeArray(Unknown Source)[na:1.6.0_16]
      30. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      31. java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[na:1.6.0_16]
      32. java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16]
      32 frames