Memory leak in current version of jQuery UI (internet explorer)

250 views
Skip to first unread message

Conrad Dean

unread,
Mar 1, 2012, 2:35:22 PM3/1/12
to google-ajax...@googlegroups.com
In trying to debug some memory leaks in a webapp I'm working on, I've discovered a memory leak jQuery UI.

I don't think I'm misusing it or making an error on my own-- I've isolated my test case down to a small file that simply imports the library and does nothing else.

This only seems to happen in IE7, which is a problem because it still has a large (corporate) userbase.

Using Microsoft's memoryleak detection, I think I've narrowed it down to this line in the Datepicker plugin:

    this.dpDiv = bindHover($('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'));

because it's this in 1.8.12:

    this.dpDiv = $('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>');

Can anyone else replicate the leaks?  What can I do about this? 
ui-leak.zip

Jeremy Geerdes

unread,
Mar 1, 2012, 2:39:32 PM3/1/12
to google-ajax...@googlegroups.com
The Google Libs API simply hosts the various libraries (e.g., jQuery UI). To file a bug for a particular library, you would need to submit it via that library's specific channels. For jQuery UI, the bug tracker is located at the link below:

http://bugs.jqueryui.com/

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/o1p4iPKIPFQJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
<ui-leak.zip>

Reply all
Reply to author
Forward
0 new messages