Unable to load an array of 500*1000 in UI using datatable.
Unable to load an array of 500*1000 in UI using datatable.
katheesh
Posts: 1Questions: 1Answers: 0
I have an array of array of size 500*1000. When i try to load this, i get Aw Snap memory error from Chrome browser. It was all fine till Chrome v102. Now in the latest version we get this error.
Code : https://drive.google.com/file/d/1pUs5GvZTYlX2n0ZxHghbIpErOBSfzi8z/view?usp=sharing
Answers
Add
deferRender
set totrue
and enable paging. That will help.For reference this is the DataTables initialisation from that document:
Allan
Edited: Suggested enabling paging to reduce memory usage.