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

Memory leak in build-timeout-plugin when used with NoActivityTimeOutStrategy

      When using the NoActivityTimeOutStrategy the plugin spawns new instances of hudson.plugins.build_timeout.BuildTimeoutWrapper$EnvironmentImpl$TimeoutTimerTask and cancles the previous TimerTask.
      However cancelled TimerTasks are not removed from the Timer until they get to the time that they should execute and so for a long running build (days) generating lots of IO with large breaks - and a long inactivity time-out (1 day) you will end up with millions of these TimeoutTimerTask

          [JENKINS-31627] Memory leak in build-timeout-plugin when used with NoActivityTimeOutStrategy

          James Nord created issue -
          James Nord made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          James Nord made changes -
          Remote Link New: This issue links to "PR #47 (Web Link)" [ 13539 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          ikedam made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167059 ] New: JNJira + In-Review [ 209448 ]
          James Nord made changes -
          Assignee Original: James Nord [ teilo ]

            Unassigned Unassigned
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: