Hello.

On Oct 17, 2008, at 8:03 PM, [EMAIL PROTECTED] wrote:

>
> Hello,
>
> We are developing a chm help file and we are using jquery as our
> JavaScript library.
> One of our file is very large, and as been quite slow on unload (2
> sec).
>
> We tracked down the problem to :
> // Prevent memory leaks in IE
> // And prevent errors on refresh with events like mouseover in other
> browsers
> // Window isn't included so as not to unbind existing unload events
> jQuery(window).bind("unload", function() {
>       jQuery("*").add(document).unbind();
> });
>
> Has that memory link been fixed in internet explorer ? If yes, can you
> tell us since when ?

Short answer: no.

Long answer: these kind of leaks are **almost** solved in IE7. A patch  
for the JScript interpreter in systems with IE6 also exists, but has  
not been pushed as an autoupgrade.

In addition, some real big corporations are still not upgrading their  
systems, so we—or at least, me— have to watch out for these leaks.

Anyway, there is an alternative solution in the development code (not  
yet published) which improves efficiency by only calling the unbind  
for elements which effectively have event handlers assigned.

Best.
-- 
Choan
<http://choangalvez.nom.es/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to