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

Memory leak in Jenkins stage view

    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
            florianhoffmann Florian Hoffmann added a comment -

            We are being affected by this more and more. In fact we are seeing notebook batteries being sucked dry in 45 minutes because of this. 

            Our stages view spins out of control really quickly, aggregating up to 11 GB RAM in about 20 minutes. The UI also constantly consumes 10-15% of CPU time, which sounds overly high for that tiny bit of visualization; we assume it's related to the browser trying to manage the large amounts of memory.

            BlueOcean, in comparison, remains stable.

            We have confirmed this issue on all common Windows browsers, Firefox, IE, Edge, and Chrome, so added these to the issue's header.

            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?

            Show
            florianhoffmann Florian Hoffmann added a comment - We are being affected by this more and more. In fact we are seeing notebook batteries being sucked dry in 45 minutes because of this.  Our stages view spins out of control really quickly, aggregating up to 11 GB RAM in about 20 minutes. The UI also constantly consumes 10-15% of CPU time, which sounds overly high for that tiny bit of visualization; we assume it's related to the browser trying to manage the large amounts of memory. BlueOcean, in comparison, remains stable. We have confirmed this issue on all common Windows browsers, Firefox, IE, Edge, and Chrome, so added these to the issue's header. 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?
            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.

              People

              • Assignee:
                Unassigned
                Reporter:
                rbjorklin Robin Björklin
              • Votes:
                38 Vote for this issue
                Watchers:
                50 Start watching this issue

                Dates

                • Created:
                  Updated: