Memory Leak with ColReorder

Memory Leak with ColReorder

LuckyLocLuckyLoc Posts: 7Questions: 2Answers: 0

I've noticed that if you reorder the columns from 5 to 15 times the memory usage explodes and always ends in an 'out of memory'.
Even when the table has only 10 columns and 5 rows..

I'm using
j-query 1.11.1
DataTables 1.10.0
ColReorder 1.1.1
tested on chrome, internet explorer and firefox on 2 different machines.

I went trough the code an removed all the statesaving calls which didn't help.
What am I doing wrong?

debug bookmarklet id: 'aloliv'

This question has an accepted answers - jump to answer

Answers

  • LuckyLocLuckyLoc Posts: 7Questions: 2Answers: 0

    Even if you close the tab the memory usage stays at a high level (1GB for reodering 20x)

    I've made a JS Fiddle here to show the behaviour: http://jsfiddle.net/eLbuX/

    Now i am pretty sure it is not misconfiguration but a bug, i used only the files from CDN.

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin
    Answer ✓

    Could you try the DataTables nightly please: http://datatables.net/download/#DataTables . That should fix this issue.

    Allan

  • LuckyLocLuckyLoc Posts: 7Questions: 2Answers: 0

    This fixed it, thank you very much allan, greatly appreciated.

This discussion has been closed.