On Oct 20, 2008, at 8:56 PM, [EMAIL PROTECTED] wrote:

>
> One more thing, could you please tell me exactly what "almost" means?
> If we remove that code from JQuery, will we get a leak ?

Can't tell. Try to run your code on Drip 
(http://www.outofhanwell.com/ieleak/index.php?title=Main_Page 
) and see for yourself.


> We can afford
> to force our user to upgrade to the latest version of IE so
> compatibility with older versions is not an issue.

I'd better use a patched (with the new improvement) version of jQuery.



>
> On Oct 17, 4:21 pm, Choan Gálvez <[EMAIL PROTECTED]> wrote:
>> 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