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

Growing memory usage causes Unresponsive script error in Firefox

      After running the wall display on a Windows 10 machine under Firefox for a few hours we noticed that the memory usage of the Firefox process was ~13Gb (this was the only tab open). This causes Firefox to issue an unresponsive script warning and hang.

      We restarted the process, reloaded the page and noticed that the memory usage climbs quite rapidly and does not stop accumulating.

      I have attached 2 memory snapshots from Firefox (I have a third but it is too large to attach), which were taken roughly 1 minute apart.

          [JENKINS-45064] Growing memory usage causes Unresponsive script error in Firefox

          Martyn Gigg added a comment -

          A cursor click on the pause button in the javascript debugger showed that we had set the paintInterval to 0 so the display was being hammered by repaint requests. Setting this to a more sensible value of 45s reduces the memory usage growth to something more manageable. The problem is still present how ever and it would suggest that the issue is somewhere when the paint is called.

          Martyn Gigg added a comment - A cursor click on the pause button in the javascript debugger showed that we had set the paintInterval to 0 so the display was being hammered by repaint requests. Setting this to a more sensible value of 45s reduces the memory usage growth to something more manageable. The problem is still present how ever and it would suggest that the issue is somewhere when the paint is called.

            pelle Christian Pelster
            martyngigg Martyn Gigg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: