Skip to content

[Bug] Memory leak in freshly generated Ember 3.28.8 app #20032

Open
@ctjhoa

Description

@ctjhoa

🐞 Describe the Bug

With a newly generated app with only one newly generated component, Ember Container is leaked after test run.
If you keeps executing test runs your memory keeps getting bigger and bigger.

🔬 Minimal Reproduction

https://github.com/concordnow/ember-memory-leaks-test

😕 Actual Behavior

2022-03-18-095233_1920x1059_scrot
Heap memory keeps increasing and Ember Container is still retained in memory

🤔 Expected Behavior

From my understanding, Ember Container should be garbage collected and should not remain in heap memory after a test run.

🌍 Environment

  • Ember: - 3.28.8
  • Node.js/npm: - Node v17.3.1 / npm 8.5.0
  • OS: - Linux
  • Browser: - Chromium

➕ Additional Context

I've already discuss this issue on discord with @chriskrycho
https://discord.com/channels/480462759797063690/501388188762505216/954029886803169292

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions