Pipeline Memory Issues

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Pipeline Memory Issues

Jenkins users mailing list
We have a Jenkins server that runs a pipeline, loads a GIT repo, and then loads other custom groovy scripts that contain more pipeline commands from that repo. After a day or so we end up with 100s of thousands of loaded classes on the server. This amount then stays static for several days or a week. For that week, GC seems to chug away, then there is a three-hour window where memory creeps up, and GC starts spinning really hard. The server never OOMs, just becomes unresponsive.

- I've seen advice on turning this on, but we actually upgraded to groovy 2.4.8, so I think it's moot: groovy.use.classvalue
- We've experimented with G1GC, and CMS

Java -> 1.8
Groovy -> 2.4.8
Jenkins -> 2.7.1

Workflow plugins:
name / version /  enabled / pinned
workflow-aggregator2.2truefalse
workflow-api2.1truefalse
workflow-basic-steps2.0truefalse
workflow-cps2.9truefalse
workflow-cps-global-lib2.1truefalse
workflow-durable-task-step2.3truefalse
workflow-job2.3truefalse
workflow-multibranch2.8truefalse
workflow-remote-loader1.2truefalse
workflow-scm-step2.2truefalse
workflow-step-api2.2truefalse
workflow-support2.2truefalse

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1d1f3820-7bf3-41be-b1e3-fb6b419aa078%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.