I'v tried to analyze heap dump as described here
https://wiki.jenkins-ci.org/display/JENKINS/I'm+getting+OutOfMemoryError
this - value: groovy.lang.GroovyClassLoader #45007
<- delegate - class: groovy.lang.GroovyClassLoader$InnerLoader, value:
groovy.lang.GroovyClassLoader #45007
<- <classLoader> - class: Script1, value:
groovy.lang.GroovyClassLoader$InnerLoader #45095
<- klazz - class: org.codehaus.groovy.reflection.ClassInfo, value:
Script1 class Script1
<- value - class:
org.codehaus.groovy.reflection.GroovyClassValuePreJava7$EntryWithValue,
value: org.codehaus.groovy.reflection.ClassInfo #45981
<- [1] - class: java.lang.Object[], value:
org.codehaus.groovy.reflection.GroovyClassValuePreJava7$EntryWithValue
#45980
<- [7055] - class: java.lang.Object[], value: java.lang.Object[]
#98508
<- table - class:
org.codehaus.groovy.reflection.GroovyClassValuePreJava7$GroovyClassValuePreJava7Segment,
value: java.lang.Object[] #79578
<- [2] - class:
org.codehaus.groovy.util.AbstractConcurrentMapBase$Segment[], value:
org.codehaus.groovy.reflection.GroovyClassValuePreJava7$GroovyClassValuePreJava7Segment
#14
<- segments - class:
org.codehaus.groovy.reflection.GroovyClassValuePreJava7$GroovyClassValuePreJava7Map,
value: org.codehaus.groovy.util.AbstractConcurrentMapBase$Segment[] #2
<- map - class:
org.codehaus.groovy.reflection.GroovyClassValuePreJava7, value:
org.codehaus.groovy.reflection.GroovyClassValuePreJava7$GroovyClassValuePreJava7Map
#1
<- globalClassValue - class:
org.codehaus.groovy.reflection.ClassInfo, value:
org.codehaus.groovy.reflection.GroovyClassValuePreJava7 #1
<- [3662] - class: java.lang.Object[], value:
org.codehaus.groovy.reflection.ClassInfo class ClassInfo
<- elementData - class: java.util.Vector, value:
java.lang.Object[] #162921
<- classes (Java frame) - class:
org.eclipse.jetty.webapp.WebAppClassLoader, value: java.util.Vector #39670
пятница, 6 января 2017 г., 13:17:58 UTC+3 пользователь Сергей Баранов
написал:
>
> Hi all,
>
> I have a problem with memory leaks on our Jenkins ver. 2.39 (Pipeline
> groovy plugin ver. 2.23).
> We have a lot of pipeline jobs, jenkins server crushes 1-2 times a week
> and we can't find the reason.
>
> I'v created the heap dump and I see a lot of arrays without values
> https://i.gyazo.com/fed8f8e9fbd752ad460bda1174f68911.png
> https://i.gyazo.com/a980b213e6ebfe586c9f0d3ff9a91b84.png
>
> How can I detect the cause of this problem?
>
> Thanks in advance.
>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/27cbfcd7-c6ec-47a7-8c53-bf1d8e7645b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.