Bug Tracker

Modify

Ticket #5666 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by scott.gonzalez

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 3 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 3 years ago by addyosmani

  • Keywords memory leak 1.4a1 added
  • Priority changed from major to high
  • Status changed from new to closed
  • Resolution set to invalid

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.