-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
200k documents search leads to maximum call stack exceeded #301
Comments
Hey there,
|
Hello, thanks for looking into this.
|
Hello Orama version: 1.0.0-beta.4 The error is still thrown. |
@user472 on what machine are you running Orama? How much RAM do you allocate to the process? Are you in a container? I tested locally with 1M docs on a MacBook Pro M1 Pro (16GB RAM) and I had no problems at all, it might depend on the environment. 200k strings are not that much, unless they're like billions of characters each |
@micheleriva I am on a MacBook Pro M1 Max (32 GB RAM) and also running it locally without any restrictions on how much RAM it is allowed to use. The string that I store for each document is still Which version of node are you running? |
Describe the bug
When searching with Lyra for 200k documents in it it throws the error
Maximum call stack exceeded
. This is error is thrown exactly starting from 100,188 documents matching the search query.To Reproduce
Execute the code below.
Expected behavior
Search result should be returned by lyra without throwing an error.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: