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

Memory leak in Jenkins stage view

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      Blue Ocean 1.3, Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 2

      Description

      Leaving a tab open with the stage view plugin active leaks memory with about 200MB every 10 minutes. Closing the tab and forcing a GC under 'about:memory' seems to recover the memory.

        Attachments

          Issue Links

            Activity

            Hide
            kshultz Karl Shultz added a comment -

            That's interesting that it's so prevalent on Windows browsers. I think many of us have been able to recreate the problem elsewhere, but your description above sounds more severe than what I've experienced myself.

            From the reports above, I deduce that there is nobody actively working on this. And the issue is now > 3 years old, which is quite a shame... Can we help somehow?

            Yes! Yes please. If someone in the community has the willingness to try and tackle this problem, we'll make sure the PR gets reviewed thoughtfully and quickly.There are a lot of potentially useful notes in the previous comments in this ticket.

            Show
            kshultz Karl Shultz added a comment - That's interesting that it's so prevalent on Windows browsers. I think many of us have been able to recreate the problem elsewhere, but your description above sounds more severe than what I've experienced myself. From the reports above, I deduce that there is nobody actively working on this. And the issue is now > 3 years old, which is quite a shame... Can we help somehow? Yes! Yes please. If someone in the community has the willingness to try and tackle this problem, we'll make sure the PR gets reviewed thoughtfully and quickly.There are a lot of potentially useful notes in the previous comments in this ticket.
            Hide
            syedimran89 Syed Imran added a comment -

            +1

            Show
            syedimran89 Syed Imran added a comment - +1
            Hide
            marksyms Mark Syms added a comment -

            I don't believe there is much correlation to Windows browsers. Plenty of my colleagues have this issue with Linux based browsers, Chrome and Firefox. Leave a pipeline view up in a browser tab and it grows at a phenomenal rate (hundreds of KB per second).

            Show
            marksyms Mark Syms added a comment - I don't believe there is much correlation to Windows browsers. Plenty of my colleagues have this issue with Linux based browsers, Chrome and Firefox. Leave a pipeline view up in a browser tab and it grows at a phenomenal rate (hundreds of KB per second).
            Hide
            vodalus Sergey Dedik added a comment -

            I would also like to bring developers attention to this, as we are suffering heavily from the issue.

            Show
            vodalus Sergey Dedik added a comment - I would also like to bring developers attention to this, as we are suffering heavily from the issue.
            Hide
            alexandre75 alex cuenca added a comment -

            Reproduced on Ubuntu/Firefox

            I close Jenkins tab and retrieve 7 GB

             

            $:~/bulk-data/projects/workspace/all/loaders$ free -h
            
                          total        used        free      shared  buff/cache   available
            
            Mem:           15Gi        14Gi       241Mi       207Mi       751Mi       459Mi
            
            Swap:         4.0Gi       3.2Gi       860Mi
            
            ~/bulk-data/projects/workspace/all/loaders$ free -h
            
                          total        used        free      shared  buff/cache   available
            
            Mem:           15Gi       7.7Gi       7.3Gi       245Mi       628Mi       7.4Gi
            
            Swap:         4.0Gi       3.3Gi       709Mi
            
            ~/bulk-data/projects/workspace/all/loaders$ 
            
            
            
            ing_ is done here

             

            Show
            alexandre75 alex cuenca added a comment - Reproduced on Ubuntu/Firefox I close Jenkins tab and retrieve 7 GB   $:~/bulk-data/projects/workspace/all/loaders$ free -h              total        used        free      shared  buff/cache   available Mem:           15Gi        14Gi       241Mi       207Mi       751Mi       459Mi Swap:         4.0Gi       3.2Gi       860Mi ~/bulk-data/projects/workspace/all/loaders$ free -h              total        used        free      shared  buff/cache   available Mem:           15Gi       7.7Gi       7.3Gi       245Mi       628Mi       7.4Gi Swap:         4.0Gi       3.3Gi       709Mi ~/bulk-data/projects/workspace/all/loaders$ ing_ is done here  

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rbjorklin Robin Björklin
              Votes:
              39 Vote for this issue
              Watchers:
              52 Start watching this issue

                Dates

                Created:
                Updated: