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

Jenkins memory leak (Metaspace increases over the period)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • None

    Description

      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.

      Attachments

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

        Issue Links

          Activity

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: