[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Daniel Spilker closed an issue as Fixed Jenkins / JENKINS-37213 java.lang.OutOfMemoryError: Compressed class space in Job DSL Change By: Daniel Spilker Status: Resolved Closed Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Daniel Spilker resolved as Fixed The next Jenkins release will contain Groovy 2.4.8 to fix this problem. Jenkins / JENKINS-37213 java.lang.OutOfMemoryError: Compressed class space in Job DSL Change By: Daniel Spilker Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options,
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Paul Draper edited a comment on JENKINS-37213 Re: java.lang.OutOfMemoryError: Compressed class space in Job DSL I attached the gzipped results of {code}jcmd GC.class_stats{code}You'll notice 1 million ..._run_closure... classes.To give some background for our setup"mainJobs" is run in parameterized job that run on each branch push. It creates a different folder for each branch, and a creates and triggers a "jobs" job in that folder that runs and produces the jobs in that directory. Periodically, folders for deleted branches are removed. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Paul Draper commented on JENKINS-37213 Re: java.lang.OutOfMemoryError: Compressed class space in Job DSL I attached the gzipped results of jcmd GC.class_stats You'll notice 1 million ..._run_closure... classes. To give some background for our setup"mainJobs" is run in parameterized job that run on each branch push. It creates a different folder for each branch, and a triggers a "jobs" job that produces the jobs in that directory. Periodically, folders for deleted branches are removed. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Paul Draper updated an issue Jenkins / JENKINS-37213 java.lang.OutOfMemoryError: Compressed class space in Job DSL Change By: Paul Draper Attachment: class_stats.gz Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title mcrooney edited a comment on JENKINS-37213 Re: java.lang.OutOfMemoryError: Compressed class space in Job DSL We had our third outage from this so I've now restarted it with that option, would "java -Dgroovy.use.classvalue=true -jar jenkins.war" be a valid invocation to use this? I'll report back the results :) However, should this matter in Java 8 (Hotspot) where PermGen is gone? https://www.infoq.com/articles/Java-PERMGEN-Removed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title mcrooney commented on JENKINS-37213 Re: java.lang.OutOfMemoryError: Compressed class space in Job DSL We had our third outage from this so I've now restarted it with that option, would "java -Dgroovy.use.classvalue=true -jar jenkins.war" be a valid invocation to use this? I'll report back the results Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Daniel Spilker commented on JENKINS-37213 Re: java.lang.OutOfMemoryError: Compressed class space in Job DSL Paul Draper mcrooney Can you try to set the -Dgroovy.use.classvalue=true system property as suggested in JENKINS-33358 and report the results? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title mcrooney commented on JENKINS-37213 Re: java.lang.OutOfMemoryError: Compressed class space in Job DSL We've seen this as well a few times with Job DSL 1.48 and Jenkins 2.7.2. I've got a heap dump (2.6GB), Daniel Spilker, I can give you an S3 link or if it is trivial to analyze myself, let me know what to look for. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Paul Draper commented on JENKINS-37213 Re: java.lang.OutOfMemoryError: Compressed class space in Job DSL Yes, apparently. It happens almost once a week for me since upgrading from 1.42 to 1.45. Next time, I'll get a heap dump and metaspace info. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Daniel Spilker commented on JENKINS-37213 Re: java.lang.OutOfMemoryError: Compressed class space in Job DSL Is this reproducible? Can you analyze the heap to see what's consuming memory? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Paul Draper updated an issue Jenkins / JENKINS-37213 java.lang.OutOfMemoryError: Compressed class space in Job DSL Change By: Paul Draper {code}# using OpenJDK Java 8 # and Jenkins 2.7.1 /usr/bin/java -Xms1024m -Xmx3072m -Dorg.apache.commons.jelly.tags.fmt.timeZone=US/Mountain -jar /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpListenAddress=127.0.0.1 --httpPort=8080 --ajp13Port=-1{code}After a long time, I encountered the error{code}FATAL: Compressed class spacejava.lang.OutOfMemoryError: Compressed class spaceat java.lang.ClassLoader.defineClass1(Native Method)at java.lang.ClassLoader.defineClass(ClassLoader.java:763)at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.define(ClassLoaderForClassArtifacts.java:44)at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoaderForClassArtifacts.java:77)at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoaderForClassArtifacts.java:75)at java.security.AccessController.doPrivileged(Native Method)at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.defineClassAndGetConstructor(ClassLoaderForClassArtifacts.java:75)at org.codehaus.groovy.runtime.callsite.CallSiteGenerator.compilePogoMethod(CallSiteGenerator.java:222)at org.codehaus.groovy.reflection.CachedMethod.createPogoMetaMethodSite(CachedMethod.java:233)at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.createCachedMethodSite(PogoMetaMethodSite.java:150)at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.createPogoMetaMethodSite(PogoMetaMethodSite.java:126)at groovy.lang.MetaClassImpl.createPogoCallSite(MetaClassImpl.java:3405)at org.codehaus.groovy.runtime.callsite.CallSiteArray.createPogoSite(CallSiteArray.java:150)at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:164)at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)at javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.archiveJunit(PublisherContext.groovy:192)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)at
[JIRA] (JENKINS-37213) java.lang.OutOfMemoryError: Compressed class space in Job DSL
Title: Message Title Paul Draper created an issue Jenkins / JENKINS-37213 java.lang.OutOfMemoryError: Compressed class space in Job DSL Issue Type: Bug Assignee: Daniel Spilker Components: job-dsl-plugin Created: 2016/Aug/05 1:50 PM Priority: Minor Reporter: Paul Draper # using OpenJDK Java 8 /usr/bin/java -Xms1024m -Xmx3072m -Dorg.apache.commons.jelly.tags.fmt.timeZone=US/Mountain -jar /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpListenAddress=127.0.0.1 --httpPort=8080 --ajp13Port=-1 After a long time, I encountered the error FATAL: Compressed class space java.lang.OutOfMemoryError: Compressed class space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.define(ClassLoaderForClassArtifacts.java:44) at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoaderForClassArtifacts.java:77) at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoaderForClassArtifacts.java:75) at java.security.AccessController.doPrivileged(Native Method) at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.defineClassAndGetConstructor(ClassLoaderForClassArtifacts.java:75) at org.codehaus.groovy.runtime.callsite.CallSiteGenerator.compilePogoMethod(CallSiteGenerator.java:222) at org.codehaus.groovy.reflection.CachedMethod.createPogoMetaMethodSite(CachedMethod.java:233) at