question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Memory leaks in virtual scrolling mode

See original GitHub issue

I’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. image

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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
marjan-georgievcommented, Mar 27, 2017

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

0reactions
amcdnlcommented, Mar 27, 2017

This was released just now in 7.1.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

memory leak in virtual sample page. - ActiveWidgets
I am using version 2.0.1-std-developer. It appears that the sample page examples/new/virtual.htm leaks memory in IE. I watch the memory using a tool...
Read more >
Debug DOM memory leaks with the Detached Elements tool
A memory leak can occur in your application when an element is no longer attached to the Document Object Model (DOM) tree, ...
Read more >
Information to gather when troubleshooting memory leaks on ...
For Physical Memory leaks: If you identify a leak, click the Processes tab, and select View, Select Columns. Enable Page Faults, Virtual Memory...
Read more >
Debug memory leaks with the Microsoft Edge Detached ...
A DOM memory leak occurs when an application keeps references to more and more of these detached elements, without actually reusing them later....
Read more >
How to Fix Memory Issues on Windows 11 - Beebom
Be it a memory leak, high RAM usage, or low memory, ... Here, move to the “View” tab and scroll down under the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found