You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been investigating a memory leak in one of our apps and I’ve noticed that as soon as I add @ember/jquery to a new ember project, I start to see tons of Container instances retained in memory after running tests.
Steps to reproduce:
ember new leak-test(ember-cli: 3.27.0, node: 14.17.0)
cd leak-test; ember install @ember/jquery
create an integration test that just renders a simple string
ember serve
open up http://localhost:4200/tests, let tests finish running and check the heap snapshot using Chrome’s DevTools
With @ember/jquery installed, I’m seeing one retained Container instance per test that has been executed (i.e. 10 instances using the snippet above). If I simply remove @ember/jquery, only one Container instance is retained.
The text was updated successfully, but these errors were encountered:
I have been investigating a memory leak in one of our apps and I’ve noticed that as soon as I add
@ember/jquery
to a new ember project, I start to see tons ofContainer
instances retained in memory after running tests.Steps to reproduce:
ember new leak-test
(ember-cli: 3.27.0, node: 14.17.0)cd leak-test; ember install @ember/jquery
ember serve
Here’s the test snippet I used for step 3:
With
@ember/jquery
installed, I’m seeing one retainedContainer
instance per test that has been executed (i.e. 10 instances using the snippet above). If I simply remove@ember/jquery
, only oneContainer
instance is retained.The text was updated successfully, but these errors were encountered: