Process hang on 18000 row dataset

Process hang on 18000 row dataset

extarysextarys Posts: 3Questions: 2Answers: 0

I have a set of 18,000 records loaded from a database. There is many columns, 24 in total. The user will eventually have the option to turn some off.

When I load the data nothing appears and my process use one complete core and the memory keep climbing until I stop the process.

For readability, I put the code in a gist: https://gist.github.com/Extarys/88db0409ca0215f638e1d13bc51e4e50

      columns: [//See gist],
       paging: true,
        processing: false,
        deferRender:    true,
        info: false,
        bPaginate: false,
        searching: false,
        scrollX: true,
        scrollCollapse: true,
        scrollY:        '80%',
        scroller:       true,

        colReorder: true,
        rowReorder: false,
       "order": [[1, "asc"], [3, "asc"], [9, "asc"]],

Data example:
{"title":"All the Things She Said (Radio Version)","albumartist":"","album":"All the Things She Said","artist":"t.A.T.u.","bpm":"89","compilation":0,"date":"2002","year":2002,"disk":{"no":null,"of":null},"track":{"no":1,"of":5},"genre":["Pop"],"bitsPerSample":16,"loseless":null,"numberOfChannels":2,"duration":210.46666666666667,"sampleRate":44100,"label":"","media":"","barcode":"","catalognumber":"","src":"/media/Musik/T/t.A.T.u_/All the Things She Said (2002)/01 All the Things She Said (Radio Version).flac","rating":-1,"playcount":0,"lasttimeplayed":-1,"_id":"01qfDh6Wn2uvGRWb"}

This is used inside a node-webkit app.

How can optimize this os the data actually shows up?

Thanks!

This discussion has been closed.