Memory leaks in virtual scrolling mode
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior Grid control has huge memory consumption when works in virtual scrolling mode.
Here example memory consumption after scrolling several times from top to bottom.
Expected behavior No memory leaks in component.
Reproduction of the problem Open demo page http://swimlane.github.io/ngx-datatable/# Switch to 10k rows example. Use some memory profiler to verify browser memory consumption. Scroll grip up and down several times.
What is the motivation / use case for changing the behavior? Improve component performance, in case of SPA such memory leaks are critical.
Please tell us about your environment:
-
Table version: 0.7.x 6.0.0
-
Angular version: 2.0.x 2.4.4
-
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] Chrome
-
Language: [all | TypeScript X.X | ES6/7 | ES5]
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top GitHub Comments
Pushed a fix in master. Will be in 8.0.0 release. I used the workaround described here: https://github.com/angular/angular/issues/14835#issuecomment-283457942
This was released just now in 7.1.1