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
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
If you poll for data then you will get Detached nodes each time the table refreshes. A workaround is to add trackBy and the memory leak stops. However, is this behavior expected when polling without trackBy?
Is this a regression?
The previous version in which this bug was not present was
No response
Description
If you poll for data then you will get Detached nodes each time the table refreshes. A workaround is to add trackBy and the memory leak stops. However, is this behavior expected when polling without trackBy?
Reproduction
StackBlitz link: https://stackblitz.com/edit/stackblitz-starters-sdd99umf?file=src%2Fmain.ts
I had a hard time seeing it in stackblitz however, I have a github repo where it can be reproduced.
Github repo: https://github.com/conalryan/angular-material-table-memory-leak/tree/master
npm install && npm run start
Here's the code
Expected Behavior
Using TrackBy there is no leak. Should that be the case without trackBy?
Memory 3
Memory 4
Actual Behavior
Detached increases over time
Memory 1
Memory 2
Environment
The text was updated successfully, but these errors were encountered: