Memory leaks in IE(6/7/8) when loading frame, which is in a frameset and includes latest jQuery (v.1.5.1 and above) with solution
|Reported by:||romero83@…||Owned by:|
Ok. So most probably I found the problem for this memory leak issue. Let's see the latest Jquery 1.6.1 source code. The problematic code line is 1172, which looks like this:
input = div.getElementsByTagName( "input" )[ 0 ];
I don't know why, but if you add this statement into a variable, then IE do some kind of memory issue. After I commented out that line, no more memory leak appeared in IE7.
I did a workaround in version 1.5.1 and it worked.
See http://bugs.jquery.com/ticket/8863 for more details.
I hope this helps to fix this problem.
Change History (5)
comment:1 Changed 6 years ago by timmywil
- Cc addyosmani added
- Component changed from unfiled to support
- Priority changed from undecided to high
- Status changed from new to open
comment:3 Changed 6 years ago by timmywil
- Resolution set to fixed
- Status changed from open to closed