Memory leak in IE11
See original GitHub issueI’m seeing memory leaks in IE11 after upgrading ember 2.18.2 to 3.1.2. Specifically between versions 3.0.0 and 3.1.0-beta.1.
On ember 3.1.0-beta.1, after ~350 acceptance tests, IE11 memory usage climbs to 2 GB then tests start failing with
Error: Out of memory
at startRouting (assets/vendor.js:57541:11)
at startRouting (assets/vendor.js:36654:7)
at didBecomeReady (assets/vendor.js:37395:11)
at invoke (assets/vendor.js:34638:17)
at flush (assets/vendor.js:34558:25)
at flush (assets/vendor.js:34711:21)
at end (assets/vendor.js:34844:17)
at _run (assets/vendor.js:35215:21)
at run (assets/vendor.js:34902:13)
at run (assets/vendor.js:51927:5)
On ember 3.0.0, all 450 acceptance tests run and IE11 memory usage is around 1 GB (which is high but not unusual for IE). For comparison, Chrome uses about 450 MB then drops to 200 MB after the tests finish.
My attempt to bisect seems to point to #15828 but there’s a big range of commits in there that I can’t build and/or run.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Internet Explorer 11 may leak memory when the webpage is ...
Internet Explorer 11 may leak memory when the webpage is running in document mode 5 · Symptoms. This issue occurs when the webpage...
Read more >Internet Explorer 11 Memory Leaks - Liferay Help Center
Liferay has discovered a memory leak occurring in IE11 and Edge. As the browser memory usage of the application increases, a page may...
Read more >What are all possible reasons for ie11 memory leaks?
What are the reasons that might cause IE11 to have a memory leak? There are many reasons that can cause the memory leaks,...
Read more >IE 11 Memory Leaking on Browser Reload #17637 - GitHub
Run the demo plunker in IE11. · Hit F12 and go to the memory tab and start the memory analyzer. · Click the...
Read more >Recent updates to Internet Explorer cause sluggish behavior ...
After applying the most recent updates, IE11 has been shown to utilize significantly more memory on a computer, and the memory is not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was testing on Windows 7 with IE 11.0.9600.18860
As I started digging into what the differences were in debug builds vs prod builds, I noticed that in prod we are not rendering anything (whereas in debug we render the
{{welcome-page}}
component). Removing that component invocation enables debug builds to pass without memory growth.This made me attempt to add a very simple component with the same DOM as the
welcome-page
template which resulted in no memory growth (and all tests completed). The primary difference between this test run and the way thewelcome-page
addon is setup is that this tested with a normally resolved template whereas the addon imports its layout and reexports it.After updating
ember-welcome-page
(locally) to make its template resolved (instead of imported and set as thelayout
property on the component’s JS file), I was able to re-run the test suite without any memory growth.