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

PTC plugin has massive memory leak if scm names are not unique

      Our Jenkins server has 100+ jobs. We have been dealing with a severe memory leak after we updated our PTC plugin. After trying many things I noticed that if all configurations have unique scm names that this problem goes away.

      To recreate this just create a number of jobs with the same scm config name. force a run of all these jobs at the same time ( you might need to have multiple executors ). you should see that some derby write threads never get cleaned up and memory is leaking.

          [JENKINS-22066] PTC plugin has massive memory leak if scm names are not unique

          Oleg Nenashev added a comment -

          Fixed the component

          Oleg Nenashev added a comment - Fixed the component

          Is this behavior noticed when using it in conjunction with the Multiple SCMs plugin?

          Cletus D'Souza added a comment - Is this behavior noticed when using it in conjunction with the Multiple SCMs plugin?

          Code changed in jenkins
          User: Cletus D'Souza
          Path:
          src/main/java/hudson/scm/IntegritySCM.java
          src/main/resources/hudson/scm/IntegritySCM/config.jelly
          http://jenkins-ci.org/commit/integrity-plugin/ed1cb6651df4e233778a9418c749073918b326bf
          Log:
          Integrity Configuration Names are now enforced to be unique
          JENKINS-25629 - Checkpoints are done against wrong project!
          JENKINS-22066 - PTC plugin has massive memory leak if scm names are not
          unique

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cletus D'Souza Path: src/main/java/hudson/scm/IntegritySCM.java src/main/resources/hudson/scm/IntegritySCM/config.jelly http://jenkins-ci.org/commit/integrity-plugin/ed1cb6651df4e233778a9418c749073918b326bf Log: Integrity Configuration Names are now enforced to be unique JENKINS-25629 - Checkpoints are done against wrong project! JENKINS-22066 - PTC plugin has massive memory leak if scm names are not unique

          Configuration Names have to be unique going forward. Hopefully this resolves your issue.

          Cletus D'Souza added a comment - Configuration Names have to be unique going forward. Hopefully this resolves your issue.

            cdsouza Cletus D'Souza
            robertbitel Robert Bitel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: