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
RangeError [ERR_INVALID_OPT_VALUE]: The value "-2048893" is invalid for option "size" #135
Comments
|
I debugged a bit and found that well below the 16MB buffer limit. However at the end it goes into where |
|
When I use |
|
just to be sure, batch is declared this way : I fail to see how multipleStatements is involved here. |
It isn't. I misunderstood the API of Yet I don't think throwing a cryptic error message is the right thing, especially since it looks more like an algo error and could be captured. |
|
error reproduced and corrected. |
|
Thanks! |
I have 10k queries like that
in a benchmark to test system limits. 10k queries are executed in one
batchcall withmultipleStatements: true. Obviously this hit some limits (probably overflow issues) since I get this error:The number behind "value" changes depending on how many queries I try in one batch.
When I limit the SQL to 5120 queries it works, when I do 5121 it breaks. Interestingly when I do first 5000, and then in a next
batchcall another 5000 it breaks in the second call with the same error. With 5121 I getand with 10k I get
Running 10k queries of these work fine:
Versions:
The text was updated successfully, but these errors were encountered: