-
Notifications
You must be signed in to change notification settings - Fork 167
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
Memory leak regression after upgrading to >= 6.3.0
#1848
Comments
Hi, @johanrd. Thanks for posting recordings to show some of the steps that you had taken. From the videos, though, I didn't understand what I'm supposed to look at, which suggests that there is a memory leak. Can you describe this to me? Secondly, I found the commit history hard to follow. Can you recreate the history so that each commit (each step) clearly indicates what's particular about that step? At the moment, I have to doubt that /* package.json */
{
"dependencies": {
"@ember/render-modifiers": "^2.1.0",
"chart.js": "^4.4.2",
"ember-intl": "^6.5.1",
"ember-resources": "^7.0.0",
"ember-route-template": "^1.0.3",
"ember-truth-helpers": "^4.0.3",
"reactiveweb": "^1.2.2"
}
} If you can write a reproduction app with the minimum necessary dependencies (don't include addons that are relatively unstable), I think it will help with your investigation more. |
@ijlee2 Hi. Thanks for the quick reply. Yes, the commit history is a mess – memory leaks are a mess. Don't follow the commit history. Please follow my steps to reproduce
Here, the only difference is the downgrade of |
Update: I have now stripped it down to a minimal reproducible example here: https://github.com/johanrd/ember-intl-memoy-leak-reproduction Just search for Downgrade to ember-intl v6.2.2 and the memory leak is gone |
… I can verify that the leak is gone, but not sure if this is the preferred way
Hi. I have experienced memory leaks in my app after upgrading ember-intl from
v6.2.2
to>v6.3.0
.Steps to reproduce:
ember-intl
branchpnpm start
about
anddashboard
a few times, and see that e.g. the ChartJs Component piles up in memory each time you enter thedashboard
route:memory-leak-ember-intl.mov
v6.2.2
and see that the memory leaks with the ChartJs Component are gone:no-memory-leak-ember-intl.mov
The text was updated successfully, but these errors were encountered: