You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for giving this a try and sharing the issue.
Here's what's happening and what we can do about it:
When the user submits a file we pass at to a webworker via a singleton wrapper over the worker.
That happens here
The issue you hit on is that passing data to webworks requires cloning the data and you ran out of memory during the clone.
The solution for that is to modify the code above to batch the inserts.
It might be tempting to just do the insert from the main thread but
That would block the UI
Indexddb (where we store the data) has a limit on how much data we can send to it in one chunk so we'd need to batch anyway
No description provided.
The text was updated successfully, but these errors were encountered: