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

Memory leak in web interface (Javascript)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      Tested version: jenkins 2.39
      Browser: Google Chrome

      Issue:

      If I open a browser tab on Jenkins and let it open, the memory consumed by the tab grows up to 2GB (and then I need to close it to be able to work). Consumed memory can be accessed by typing `Shift + Esc` in Google Chrome.

      When I just open the home view, it starts around 52 kB

      I suppose there is a memory leak in the JS code.

      If I launch the Memory profiler in Chrome, it appears that objects are created every 5s and they're never released (See attachment).

      The memory leak seems related to event handling (see 2nd attachment)

        1. memory_call_stack_trace_2018_07_11.PNG
          64 kB
          Daniel Carrington
        2. Sélection_102.png
          5 kB
          Guillaume Gautreau
        3. Sélection_103.png
          31 kB
          Guillaume Gautreau

            Unassigned Unassigned
            gga Guillaume Gautreau
            Votes:
            7 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: