Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5666 closed bug (invalid)

Memory leak (1.4a1)

Reported by: malsup Owned by:
Priority: high Milestone: 1.4
Component: core Version: 1.4a1
Keywords: memory leak 1.4a1 Cc:
Blocked by: Blocking:

Description

Not sure if this is an issue with core or with the ui Dialog class, but displaying the dialog over and over causes excessive memory leakage in IE. Tested in IE8.

Sample test page which shows the problem:

http://test.malsup.com/dialog/

The mem leak also occurs when using blockUI instead of Dialog so my thinking is that is may be a problem in core. Tested with both 1.3.2 and 1.4a1 with same results.

Drip.exe also shows tons of leaked DOM elements.

Change History (3)

comment:1 Changed 10 years ago by scottgonzalez

I'm not sure if there are leaks in core, but we know there are definitely leaks in all UI plugins (we've got tickets in UI's trac).

comment:2 Changed 10 years ago by vvchina

In my test,only the modal dialog have the problem.So I think something may be wrong in the modal layer.

comment:3 Changed 9 years ago by addyosmani

Keywords: memory leak 1.4a1 added
Priority: majorhigh
Resolution: invalid
Status: newclosed

Checked through the UI tracker for the period this ticket was submitted during and it would appear that this issue was primarily due to issues with the UI plugins. I couldn't locate any further information to confirm it was due to core and we haven't had core memory leak issues that are responsible for UI components not functioning correctly since then, I think it's safe to say that this is likely no longer an issue with 1.4.3 and 1.4.4 RC2.

Note: See TracTickets for help on using tickets.