I think I published the source code of my jamm plugin for Jenkins.

It's not perfect yet, which is why I haven't released it, but you could
install it and add the column to a view so you can identify the memory
usage of your jobs.

Beware the perf impact of the column, so put it in a non-default view.

Some other culprits:

Are you using gerrit? The way gerrit uses the git plugin causes the branch
information to grow and grow in every build until each build has multiple
megabytes of branch info. There is an open bug, but I think the fix will be
to move to multibranch which is a better fit.

Are you running pipelines where the pipeline script was written by a groovy
fanboy who has encoded lots of the build logic in the pipeline script?
Besides being a bad idea - developers now need to use Jenkins to do a local
build - it may interact poorly with the CPS transformation and create lots
of flow nodes.

There are probably other things to look for but off the top of my head (and
on a phone at the side of a cold GAA pitch supporting my son) this is what
I've got.

(Freezing cold and muddy)
On Fri 3 Feb 2017 at 19:29, Jacob Weber <weberja...@gmail.com> wrote:

> I'm running Jenkins 2.3.7 on CentOS 6.8. Lately Jenkins has started
> running out of heap space repeatedly. I've increased the max heap size, but
> it still eventually fills it up. I've installed the Monitoring plugin, and
> I can see the "used memory" steadily increasing after every restart.
>
> Is there any way to help figure out what's causing this? I assume it's a
> plugin, or it would be happening to more people. Do I just need to keep
> disabling plugins until I find the culprit, or is there an easier way?
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/8fc4bee4-ea22-4259-b5b3-f70526726e7f%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/8fc4bee4-ea22-4259-b5b3-f70526726e7f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Sent from my phone

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMz1-YHPt1brEMA3Bb_2o2Pr9m-EQqHkYixtvecZ1dj%3DOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to