Closed kwaabs closed 7 years ago
Hi, @kwaabs you can avoid this specific exception by disabling caching in with the local storage,
// set before instantiating tables, to disable globally:
KingTable.defaults.lruCacheSize = 0;
// or use option when instantiating the table:
lruCacheSize: 0
However, this library is designed to work in server-client scenarios, where normally you don't send so many thousands of items at the same time (in these cases, you normally implement pagination on the server side). I am not sure how it behaves when used locally, for example for desktop applications using Electron. This has been described in this page of the Wiki: Working modes.
I have a large dataset (already filtered url eg---http://localhost/getdata.php?gender=M, and data is about 30,000+ when filtered) and i keep getting this error
Uncaught (in promise) DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of '/<myfolder>/.kt:::catalogs' exceeded the quota.
I tested with smaller data set (<5000) records and it worked fine.
Am i doing something wrong? **Sorry from contacting you here. I didnt know where else to reach you***