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

hudson-behavior.js#makeTooltip make a memory leak

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      On the main page (which is refreshed every 5s), each build in the build queue is
      render again with a tooltip (using hudson-behavior.js#makeTooltip). This method
      call YUI to create a new tooltip.

      Problems comes from this widget. Each time we make a such widget, a div
      (representing the tooltip) is added in the dom but never removed : DOM document
      becomes bigger and bigger and (when the build queue is big), the browser
      (Firefox or IE) crashes because of used memory.

      A very quick fix consists in removing tooltips. But I think a better way to do
      can be to create a single tooltip div in the page (without YUI) and display it
      under the mouse when needed displaying the right message.

      Sorry to report this issue without any patch, If I find out some time, I'll try
      to attach a patch later.

      Thx.


      Vincent

        Attachments

          Activity

          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed in 1.110.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed in 1.110.
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          maybe this would fix #352 finally!?

          Thank you for this bug report. This is very helpful.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - maybe this would fix #352 finally!? Thank you for this bug report. This is very helpful.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            doume doume
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: