-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IE9 memory leaks #513
Comments
@ryanseddon verified...
|
Thank you for your reply. I though that it could be a special test that might cause the memory leak. But for now, I do not find the real cause. As you say, UglifyJS seems to fix the leakage. |
Ok so this is interesting, I dug a little deeper to see what could be causing the dev file to leak compared to the your build. So the first bit I tried was removing the geolocation test, and that stops the memory leaks for me in IE9 win7. It'll hover around 25mb and won't creep up. Can you confirm this behaviour too. Full dev build: http://jsfiddle.net/ryanseddon/d2UEB/42/show/ (this creeps up around 3-5mb per refresh) Full dev build with no geolocation: http://jsfiddle.net/ryanseddon/d2UEB/43/show/ I killed the iexplorer process before testing each fiddle and only had one tab open at a time. |
whoaaaaa.. that's a bug alright. wow. |
@ryanseddon ... I also confirm this behaviour. Full dev build: http://jsfiddle.net/ryanseddon/d2UEB/42/show/ (this creeps up around 3-5mb per refresh) I test with IE version: 9.0.8112.16421 A quick diff shows that :
geolocation is buggy in IE9. Whoaaaa... |
Humm... I'm going to my work now. But someone should report it for MS. |
Filed a bug on the ever annoying IE connect website https://connect.microsoft.com/IE/feedback/details/728942/geolocation-causes-memory-leak-in-ie9 |
Good job dude. |
Wow! Thanks Paul. And congrats for Modernizr! |
It was all Ryan. 👲 |
/cc |
Got confirmation from MS that it can be reproduced by them and strangely in IE10PP5, PP4 was fine for me. IE9 was the only one leaking on my end. |
So we just changed the geolocation check to avoid a webkit page caching issue. see recent commit from @josh its now |
just tested with http://jsfiddle.net/d2UEB/46/show/ and things look great! no leak with josh's new test. boom |
I though I was seeing a massively reduced leak still but it seems to of stabilised around 33mb on a fresh start with the above testcase running. Boom indeed. |
🤘 |
works for me. great news ! |
Your the man Paul, had this exact issue today (I'm using 1.7), changed the return statement and the memory leak is no more! Thanks again. |
You can find the test page here:
http://jsfiddle.net/d2UEB/39/show/
The code :
http://jsfiddle.net/d2UEB/39
This Bug does not occur when using default custom & minimize version.
The text was updated successfully, but these errors were encountered: