Skip to main content

Bug Tracker

Side navigation

#5906 closed bug (fixed)

Opened January 23, 2010 12:02AM UTC

Closed January 24, 2010 02:21AM UTC

IE leaks memory when removing child elements with bound events (until page is unloaded)

Reported by: ajpiano Owned by:
Priority: major Milestone: 1.4.1
Component: event Version: 1.4
Keywords: Cc:
Blocked by: Blocking:
Description

This is somewhat vague as it is coming in from a third party, however, initial analysis of .remove() on a container with child elements that have bound events appears to cause memory to balloon in IE until the page is unloaded.

Granted, this is far from a performant approach to creating and binding elements, but it's worth investigating.

http://jsbin.com/ewone/8/

Attachments (1)
  • ie_memleak.htm (0.9 KB) - added by ajpiano January 23, 2010 12:03AM UTC.
Change History (2)

Changed January 23, 2010 12:24AM UTC by ajpiano comment:1

The bad news is that this is a memory leak that appears to be new in 1.4.

http://jsbin.com/ewone/9 is the same code in 1.3.2. The elements can be added and removed and the memory stays within the same area, whereas it balloons in 1.4.

Changed January 24, 2010 02:21AM UTC by john comment:2

component: unfilledevent
resolution: → fixed
status: newclosed