java.lang.OutOfMemoryError: Compressed class space at java.lang.<span class="code-object" style="color: #910091">ClassLoader</span>.defineClass1(Native Method) at java.lang.<span class="code-object" style="color: #910091">ClassLoader</span>.defineClass(<span class="code-object" style="color: #910091">ClassLoader</span>.java:763)

Google Groups | pauld...@gmail.com (JIRA) | 8 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

    [JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL

    Google Groups | 8 months ago | pauld...@gmail.com (JIRA)
    java.lang.OutOfMemoryError: Compressed class space at java.lang.<span class="code-object" style="color: #910091">ClassLoader</span>.defineClass1(Native Method) at java.lang.<span class="code-object" style="color: #910091">ClassLoader</span>.defineClass(<span class="code-object" style="color: #910091">ClassLoader</span>.java:763)
  2. 0

    GitHub comment 18#286968679

    GitHub | 2 weeks ago | ayunawani
    java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 3144 free bytes and 3KB until OOM

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Compressed class space at java.lang.<span class="code-object" style="color: #910091">ClassLoader</span>.defineClass1(Native Method) at java.lang.<span class="code-object" style="color: #910091">ClassLoader</span>.defineClass(<span class="code-object" style="color: #910091">ClassLoader</span>.java:763)

      at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.define()
    2. Groovy
      ClassLoaderForClassArtifacts$1.run
      1. org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.define(ClassLoaderForClassArtifacts.java:44)
      2. org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoaderForClassArtifacts.java:77)
      3. org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoaderForClassArtifacts.java:75)
      3 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.defineClassAndGetConstructor(ClassLoaderForClassArtifacts.java:75)
      2. org.codehaus.groovy.runtime.callsite.CallSiteGenerator.compilePogoMethod(CallSiteGenerator.java:222)
      3. org.codehaus.groovy.reflection.CachedMethod.createPogoMetaMethodSite(CachedMethod.java:233)
      4. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.createCachedMethodSite(PogoMetaMethodSite.java:150)
      5. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.createPogoMetaMethodSite(PogoMetaMethodSite.java:126)
      6. groovy.lang.MetaClassImpl.createPogoCallSite(MetaClassImpl.java:3405)
      7. org.codehaus.groovy.runtime.callsite.CallSiteArray.createPogoSite(CallSiteArray.java:150)
      8. org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:164)
      9. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      10. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      11. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
      11 frames
    5. javaposse.jobdsl.dsl
      PublisherContext.archiveJunit
      1. javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.archiveJunit(PublisherContext.groovy:192)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    7. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
      2. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
      3. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
      4. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
      5. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174)
      5 frames
    8. javaposse.jobdsl.dsl
      PublisherContext.archiveJunit
      1. javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.archiveJunit(PublisherContext.groovy)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames