Skip to content
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

Getting an error on Memory access out of bounds when trying to run db.exec with a large query string #571

Open
omriz-positive opened this issue Feb 6, 2024 · 0 comments

Comments

@omriz-positive
Copy link

When creating the database initially, we use a large file that is successfully processed to create the database.
Afterwards, when we attampt to run a script to add another table, it is throw the error Memory access out of bounds.

This always happens when the query string is about 1.5MB.
When the query is below that size, the query is successfully processed and the database is updated with the new table.

Is there a limit to much much the query string should be big?

This is was done Google Chrome browser version 120.0.6099.224 64bits
On SQL.js library version ^1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant