Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Memory leaks while refreshing data #11

Open
rpgraham84 opened this issue Aug 20, 2014 · 2 comments
Open

Memory leaks while refreshing data #11

rpgraham84 opened this issue Aug 20, 2014 · 2 comments
Labels

Comments

@rpgraham84
Copy link

If you go to http://files.stevenskelton.ca/sortable-table/examples/refreshing-data.html and just leave the tab open for a few hours, you'll eventually crash your Chromium tab.

I was making my own page using and while working with a large dataset, noticed that there is absolutely no way to prevent memory usage from getting out of control (on my page it happened rather quickly). As you throw entries on to your dataset, or replace the dataset entirely, I think events are being bound and never nullified when the data is replaced, and thus, while no handles may remain to the old dataset, they live on in memory without being garbage collected.

@stevenrskelton
Copy link
Owner

Thanks for pointing this out.
My hope is this is an Observe.js reference preventing cleanup; I'll definitely take a look and try to track it down.

@MetaMemoryT
Copy link

👍 this is an important bug

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

3 participants