hudson-behavior.js#makeTooltip make a memory leak

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            doume
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: