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

EventDispatcher and ConcurrentLinkedQueue ate my JVM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: sse-gateway-plugin
    • Environment:
    • Similar Issues:

      Description

      We started running out of memory in our JVM (Xmx 8G) and when looking at Melody's memory (heap) histogram (JENKINS_URL/monitoring?part=heaphisto) the top two items were:

       

      Class Size (Kb) % size Instances % instances Source
      org.jenkinsci.plugins.ssegateway.sse.EventDispatcher$Retry 2,890,399 44 92,492,793 43  
      java.util.concurrent.ConcurrentLinkedQueue$Node 2,167,981 33 92,500,553 43  

       
      77% (and growing as we were researching the problem) of the memory was being used by these two items.

      I have two support bundles from this time and an .hprof as well.

      I can either screen share with someone or if you can tell me how to analyze these files I would be happy to.

        Attachments

          Issue Links

            Activity

            docwhat Christian Höltje created issue -
            docwhat Christian Höltje made changes -
            Field Original Value New Value
            Labels leak memory memory-leak
            maxfields2000 Maxfield Stewart made changes -
            Attachment image-2018-09-05-18-59-08-587.png [ 44203 ]
            olamy Olivier Lamy made changes -
            Link This issue is related to JENKINS-45488 [ JENKINS-45488 ]
            batmat Baptiste Mathus made changes -
            Assignee Tom FENNELLY [ tfennelly ]
            olamy Olivier Lamy made changes -
            Assignee Olivier Lamy [ olamy ]
            olamy Olivier Lamy made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            dnusbaum Devin Nusbaum made changes -
            Link This issue relates to JENKINS-58684 [ JENKINS-58684 ]

              People

              Assignee:
              olamy Olivier Lamy
              Reporter:
              docwhat Christian Höltje
              Votes:
              16 Vote for this issue
              Watchers:
              24 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: