Skip to main content

Search and Top Navigation

#7383 closed bug (fixed)

Opened May 17, 2011 01:56AM UTC

Closed August 10, 2011 12:47PM UTC

Possible Memory Leak When Repeatedly Creating and Destroying Tabs

Reported by: nogwater Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.8.12
Keywords: Cc:
Blocked by: Blocking:
Description

jsFiddle version: http://jsfiddle.net/YgLFt/3/

Simple sample at: http://www.apejet.org/aaron/code/tabs_test/

The page uses the demo tabs from the documentation. My test code calls .tabs("destroy") and .tabs() to remove and re-create the tabs 100 times per run.

IE 7 is showing about 10 MB of memory growth per run according to the task manager.

Firefox 3.6 also shows memory growth, but less consistently.

Using the web inspector in Chrome 12, the heap shows growth (not a lot, but some) if I take a snapshot, run the test, run the garbage collector, and take another snapshot.

As far as I can tell, the jQuery.cache isn't growing between runs.

Attachments (0)
Change History (1)

Changed August 10, 2011 12:47PM UTC by scottgonzalez comment:1

resolution: → fixed
status: newclosed

I've confirmed that this is fixed in master using Chrome's heap profiler.