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

Jenkins memory leak (Metaspace increases over the period)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • 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
          349 kB
          varun shrivastava
        2. metaspace.jpg
          246 kB
          varun shrivastava

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: