mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #231] Removing a large dataset throws RangeError #107
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kylerberry on GitHub (Jun 5, 2023).
Original GitHub issue: https://github.com/appy-one/acebase/issues/231
Originally assigned to: @appy-one on GitHub.
Hi, I'm working with the local instance of AceBase. I have an an index of
Thingsthat has ~100k records in it. Attempting to drop those records to do a fresh data import results in the following error:RangeError: Maximum call stack size exceededExample code:
@ilkkanisula commented on GitHub (Jun 28, 2023):
It would help developer if you can clone this repo and write new failing unit test case with your example. See existing tests in repo for example.
As a workaround I guess you could write loops to iterate your dataset using existing api calls to make smaller remove patches.
Root cause of this error you are seeing is probably a recursion that code uses to walk the database tree.