Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Data and sometimes Detached Nodes retained when Reloading Data (memory leak) #436

Closed
scottreisdorf opened this issue Sep 6, 2015 · 2 comments
Labels

Comments

@scottreisdorf
Copy link

When the data is reloaded the JS heap increases and sometimes Deatched DOM nodes exist and are never cleaned up.

Using Chrome Dev tools you can see this by doing the following:

  1. if you go to the example: https://l-lin.github.io/angular-datatables/#/dataReloadWithPromise
  2. Use Chome Dev Tools take a Heap Snapshot
  3. Reload the data a few times
  4. Take another Snapshot
  5. Reload a few more times
  6. Take another Snapshot.

Notice the Size increases overtime and is never recoverd/garbage collected.
This is especially noticable with a table that has more columns/rows along with custom cell renderers and click handlers.

Any advice on how to debug/fix this to cleanup the memory usage when data is reloaded?

angular-datatables-memoy-leak-issue

@l-lin
Copy link
Owner

l-lin commented Oct 3, 2015

Related to #377.

@l-lin l-lin added the bug label Oct 3, 2015
@l-lin
Copy link
Owner

l-lin commented Nov 25, 2017

Closing as issue is too old and the version is no longer maintained.

@l-lin l-lin closed this as completed Nov 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants