ColReorder with ColVis Memory Leak
ColReorder with ColVis Memory Leak
dykstrad
Posts: 20Questions: 0Answers: 1
Hey Allan,
The ColReorder with ColVis (http://datatables.net/release-datatables/extensions/ColReorder/examples/colvis.html) seems to have introduced a memory leak some where. I am testing it in Google Chrome on Windows.
To reproduce simply reorder the columns for a minute or two and you will notice it start to lag and become unusable.
David
This discussion has been closed.
Replies
I think I've fixed this in the DataTables nightly already. There was a problem with invalidation of DOM sourced data - and each reorder invalidates the rows (so the indexes can be recalculated) which would cause memory to climb dramatically.
If you have a local copy that you are seeing this with, could you try with the DataTables nightly please?
Allan
Confirmed, this is fixed in the nightly build. I was unable to reproduce the memory leak.
Excellent - thanks for the feedback :-)
Allan