[JIRA] (JENKINS-59703) JVM thread "Idle HTTP Connection Closer" eats unlimited memory.

5 views
Skip to first unread message

wessely.werner@gmail.com (JIRA)

unread,
Oct 8, 2019, 9:17:05 AM10/8/19
to jenkinsc...@googlegroups.com
Werner Wessely created an issue
 
Jenkins / Bug JENKINS-59703
JVM thread "Idle HTTP Connection Closer" eats unlimited memory.
Issue Type: Bug Bug
Assignee: redsolo
Attachments: Screen.jpg
Components: tfs-plugin
Created: 2019-10-08 13:16
Environment: Windows Server 2012 R2

java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

Jenkins ver. 2.199

Team Foundation Server Plug-in 5.157.0
Labels: tfs-plugin memory-leak
Priority: Major Major
Reporter: Werner Wessely

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages