Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38503

Jenkins memory leak (Metaspace increases over the period)

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None

      Every week we have to restart jenkins due to OOM. Continuously Metaspace increases and the number of classes loaded are also increasing.

      Earlier we had this problem with both master and windows slaves. But we figured out that disabling the JNLP3 protocol on windows slave and not running groovy script on slaves solved the problem. But. it is still a problem on master and restarting a master is not anyone is expecting.

      We recently upgraded our jenkins environment to 2.7.2 and took all the latest plugins.
      We have moved all our flow jobs to pipeline except one.

        1. metaspace.jpg
          metaspace.jpg
          246 kB
        2. heap.jpg
          heap.jpg
          349 kB

          [JENKINS-38503] Jenkins memory leak (Metaspace increases over the period)

          varun shrivastava created issue -
          varun shrivastava made changes -
          Attachment New: metaspace.jpg [ 34086 ]
          varun shrivastava made changes -
          Attachment New: heap.jpg [ 34087 ]
          Daniel Beck made changes -
          Link New: This issue duplicates JENKINS-33358 [ JENKINS-33358 ]
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            vjuranek vjuranek
            varun_shrivastava_1987 varun shrivastava
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: