Side navigation
#12743 closed bug (notabug)
Opened October 16, 2012 01:05PM UTC
Closed October 22, 2012 01:58PM UTC
IE6 - events causes memory leak
Reported by: | Drawk | Owned by: | Drawk |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.2 |
Keywords: | Cc: | dmethvin | |
Blocked by: | Blocking: |
Description
Attach an event to an element causes memory leaks on IE 6 (try refreshing the page several times) :
#!html <!DOCTYPE html> <html> <head> <title>Memory Leak</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script type="text/javascript"> $(function() { $('#test').on('click', function() {}); }); </script> </head> <body> <div id="test"></div> </body> </html>
This bug is also present on version 1.7.*
Attachments (0)
Change History (6)
Changed October 16, 2012 01:08PM UTC by comment:1
Changed October 16, 2012 02:30PM UTC by comment:2
owner: | → Drawk |
---|---|
status: | new → pending |
Thanks for taking the time to contribute to the jQuery project! Can you move your test case to jsfiddle? thanks!
Additionally, be sure to test against the "jQuery (edge)" version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/
Open the link and click to "Fork" (in the top menu) to begin.
Changed October 16, 2012 03:01PM UTC by comment:3
status: | pending → new |
---|
Thanks for your quick reply.
I forked your boilerplate and I put my code => http://jsfiddle.net/d4Rhf/1/
The memory leak still happens with the "jQuery (edge)" version.
Changed October 19, 2012 02:04PM UTC by comment:4
cc: | → dmethvin |
---|---|
status: | new → pending |
Thanks again for following up!
Does this also happen with non-empty function bodies? I'm unable to see the memory leak myself. Do you have any more information you can provide to help expose the issue? Are you seeing memory leaking in any of the other browsers?
Changed October 22, 2012 01:47PM UTC by comment:5
status: | pending → new |
---|
Replying to [comment:4 mikesherov]:
Does this also happen with non-empty function bodies?
Yes.
Are you seeing memory leaking in any of the other browsers?
No, only on IE6
Today, I updated Windows XP on my test machine and it seems that Microsoft has fixed most of the problems of IE6 with that patch http://support.microsoft.com/kb/929874.
Changed October 22, 2012 01:58PM UTC by comment:6
resolution: | → notabug |
---|---|
status: | new → closed |
Yes, we only support the most recent fully patched IE6.
Source code :