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

JVM thread "Idle HTTP Connection Closer" eats unlimited memory.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • tfs-plugin

      We have a Jenkins master instance running, which checks out (pipeline) build scripts and shared libraries on the master machine with the tfs plugin.

       

      We noticed that the Jenkins master Java binary kept eating up more and more heap until it ran out. We attached VisualVM and noticed, that over time the thread "Idle HTTP Connection Closer" was using or leaking all the memory. See the screenshot. As far as I understand, this thread is part of the team-explorer-everywhere implementation (https://github.com/microsoft/team-explorer-everywhere/blob/master/source/com.microsoft.tfs.core.ws.runtime/src/com/microsoft/tfs/core/ws/runtime/transport/IdleHTTPConnectionCloser.java), which i assume is used in this plugin.

       

      Any idea what we can do here? Any help would be greatly appreciated. As it stands now, we are having to restart the master every so often before it runs out. Crappy.

            Unassigned Unassigned
            wernerwessely Werner Wessely
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: