Ticket #7383 (closed bug: fixed)
Possible Memory Leak When Repeatedly Creating and Destroying Tabs
|Reported by:||nogwater||Owned by:|
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.