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

hudson.model.TextParameterValue heavily bloats memory use and size of build.xml by loading all builds TextParameterValue in memorey

    Details

    • Similar Issues:

      Description

      Hi,

      Recently we upgraded from 1.596.3 to 1.651.3 and observing that the later version is consuming lot of heap as soon as it comes up.

      WE have got many jobs with huge build history.. in terms of 4000 builds. Each builds's build.xml is in terms of 500k.

      Whenever the instance is restarted the heap starts to grow and finally the instance crashed with OEM.

      The heap dump shows that values defined under hudson.model.TextParameterValue of each build is loaded into memory!

      Refer screenshots: heap-screenshot-0.png & heap-screenshot-1.png

      Here is the contents of build.xml of one such build. refer screenshot build.xml-screenshot.png

      Is it this commit SECURITY-170 Store initial parameters list for later use which is loading all values?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dilipm79 Dilip Mahadevappa
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: