java.lang.OutOfMemoryError: PermGen space

JFrog JIRA | Yaniv Nachumi | 7 years ago
  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
  3. 0

    Simple ODS, OutOfMemoryError: Java heap space on save file

    Stack Overflow | 7 months ago | oscar
    java.lang.OutOfMemoryError: Java heap space 13:45:12,822 INFO [stdout] (asyncExecutor-1) at java.util.Arrays.copyOf(Arrays.java:2271) 13:45:12,822 INFO [stdout] (asyncExecutor-1) at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113) 13:45:12,822 INFO [stdout] (asyncExecutor-1) at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) 13:45:12,822 INFO [stdout] (asyncExecutor-1) at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140) 13:45:12,823 INFO [stdout] (asyncExecutor-1) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) 13:45:12,823 INFO [stdout] (asyncExecutor-1) at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282) 13:45:12,823 INFO [stdout] (asyncExecutor-1) at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125) 13:45:12,823 INFO [stdout] (asyncExecutor-1) at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207) 13:45:12,823 INFO [stdout] (asyncExecutor-1) at java.io.Writer.write(Writer.java:127) 13:45:12,824 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.Printer.printText(Unknown Source) 13:45:12,824 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.XMLSerializer.printAttribute(Unknown Source) 13:45:12,824 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown Source) 13:45:12,824 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source) 13:45:12,824 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown Source) 13:45:12,824 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source) 13:45:12,825 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown Source) 13:45:12,825 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source) 13:45:12,825 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source) 13:45:12,825 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.BaseMarkupSerializer.serialize(Unknown Source) 13:45:12,826 INFO [stdout] (asyncExecutor-1) at org.apache.xml.serialize.DOMSerializerImpl.write(Unknown Source) 13:45:12,826 INFO [stdout] (asyncExecutor-1) at org.odftoolkit.odfdom.pkg.OdfPackage.flushDom(OdfPackage.java:1626) 13:45:12,826 INFO [stdout] (asyncExecutor-1) at org.odftoolkit.odfdom.pkg.OdfPackage.getBytes(OdfPackage.java:1566) 13:45:12,826 INFO [stdout] (asyncExecutor-1) at org.odftoolkit.odfdom.pkg.OdfPackage.save(OdfPackage.java:877) 13:45:12,827 INFO [stdout] (asyncExecutor-1) at org.odftoolkit.odfdom.pkg.OdfPackage.save(OdfPackage.java:823) 13:45:12,827 INFO [stdout] (asyncExecutor-1) at org.odftoolkit.simple.Document.save(Document.java:728) 13:45:12,827 INFO [stdout] (asyncExecutor-1) at org.odftoolkit.odfdom.pkg.OdfPackageDocument.save(OdfPackageDocument.java:228) Log for my custom functions and services 13:45:12,828 INFO [stdout] (asyncExecutor-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cluster « Middleware Magic

    middlewaremagic.com | 1 year ago
    java.lang.OutOfMemoryError: PermGen space

    1 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.Class.getDeclaredMethods0()
    2. Java RT
      DelegatingMethodAccessorImpl.invoke
      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.writeClass(Unknown Source)[na:1.6.0_16]
      11. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      12. java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)[na:1.6.0_16]
      13. java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16]
      14. java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)[na:1.6.0_16]
      15. java.io.ObjectOutputStream.writeObject0(Unknown Source)[na:1.6.0_16]
      16. java.io.ObjectOutputStream.writeObject(Unknown Source)[na:1.6.0_16]
      17. java.util.ArrayList.writeObject(Unknown Source)[na:1.6.0_16]
      18. sun.reflect.GeneratedMethodAccessor518.invoke(Unknown Source)[na:na]
      19. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.6.0_16]
      20. java.lang.reflect.Method.invoke(Unknown Source)[na:1.6.0_16]
      21. java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)[na:1.6.0_16]
      22. java.io.ObjectOutputStream.writeSerialData(Unknown Source)[na:1.6.0_16]
      23. java.io.ObjectOutputStream.writeOrdinaryObject(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.writeObject(Unknown Source)[na:1.6.0_16]
      30. java.util.ArrayList.writeObject(Unknown Source)[na:1.6.0_16]
      31. sun.reflect.GeneratedMethodAccessor518.invoke(Unknown Source)[na:na]
      32. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.6.0_16]
      32 frames