Memory leak in jQuery 1.5 with IE8
|Reported by:||James Wiseman <jwiseman@…>||Owned by:||James Wiseman <jwiseman@…>|
Yes, this again!
I have done quite a bit or reading on this, and have read a number of other tickets that have been raised (not least http://bugs.jquery.com/ticket/8171). In my opinion it warrants another ticket, but apologies if this can be resloved by other means.
The issue occurs when using the jQuery UI 1.8.9. I've rasied the issue against jQuery core as other previous issues seem to have been realted to this.
When refreshing the tabs, a memory leak is observed:
$("#tabContent").tabs("load", $("#tabContent").tabs('option', 'selected'));
I've managed to reproduce this issue in this jsfidde: http://jsfiddle.net/nxDUN/2/
To view the issue, open task manager, and repeatedly click the 'test' button. For me, the memory started climbing. On occasions it would stop. Waiting 10+ seconds and the restarting clicking showed the same issue.
Doubtful that it might be some leak in JSFiddle, I created a test suite with the same code. I've uploaded it to me site at: http://www.jameswiseman.com/blog/wp-content/uploads/2011/02/testsuite.zip
Hope this is useful. Feel free to contact me regarding this.
Change History (4)
comment:1 Changed 5 years ago by jitter
- Owner set to James Wiseman <jwiseman@…>
- Status changed from new to pending