Skip to main content

Search and Top Navigation

#4409 closed bug (duplicate)

Opened March 27, 2009 12:39PM UTC

Closed March 27, 2009 11:41PM UTC

Last modified October 11, 2012 09:15PM UTC

Massive memory leak with dialog in IE7 (6 not tested)

Reported by: VinZ40K Owned by:
Priority: major Milestone:
Component: ui.dialog Version: 1.7.1
Keywords: Memory IE7 leak Cc:
Blocked by: Blocking:
Description

Opening a modal dialog with IE7 causes an increase of about 20 mb in

used memory for IE7. If you keep opening and closing the dialog the

amount stacks up rapidly, and even navigating away to another page

doesn't free up all the memory (only about 40%). The demopage of the

dialog (http://jqueryui.com/demos/dialog/#modal-message) shows this

too, try clicking the modal dialog a few times in a row and check mem usage.

We use the dialog in an ajax application with many popups, and an

avarage user can crash IE with an out of memory error in no time. (If you open 20 popups in a row your mem usage is up 400mb)

Some observations:

  • Apparently this is somehow related to the modal functionality, since the non modal dialog doesn't have this problem.
  • Destroying a dialog doesn't free any memory, not even after

refreshing the page. Closing the dialog (or just refresh with dialog

open) does free up the memory. It seems destroying the dialog causes

this somehow.

Attachments (0)
Change History (2)

Changed March 27, 2009 11:41PM UTC by scottgonzalez comment:1

resolution: → duplicate
status: newclosed

Duplicate of #4188.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted