ColReorder with ColVis Memory Leak

ColReorder with ColVis Memory Leak

dykstraddykstrad 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

Replies

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    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

  • dykstraddykstrad Posts: 20Questions: 0Answers: 1

    Confirmed, this is fixed in the nightly build. I was unable to reproduce the memory leak.

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    Excellent - thanks for the feedback :-)

    Allan

This discussion has been closed.