Datatable Plugin data load issue in IE 11

0

I am using Datatable plugnin. Here it was working fine for 20k data. Now when I am trying to load 40k+ data it is throwing error

 0x8007000e - JavaScript runtime error: Not enough storage is available to complete this operation.

Tried by enabling server side functionality using

 "serverSide": true,

Strangely it is working in Chrome and Firefox.

Please help me out here.

javascript
jquery
datatables
asked on Stack Overflow Jan 12, 2016 by user1893874

1 Answer

0

If you're loading the datatable as html, then you could try loading it via ajax instead, as a string array. That might work for awhile.

However, I'd say that you need to paginate your data on the server side, rather than loading it all in at once.

What the message is saying is that you don't have enough memory for the browser to complete the operation. Each browser is different, and the one you're having troubles with (IE, Safari?) is apparently not good at managing its memory.

Have a look at datatables.net's example of a server-side implementation.

answered on Stack Overflow Jan 12, 2016 by David T. Macknet

User contributions licensed under CC BY-SA 3.0