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

Fix csv export of 100k+ rows #1963

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

noahmay
Copy link
Contributor

@noahmay noahmay commented Mar 12, 2024

If the user exports a result that is very long (over 100 000 rows) Browser crashes with the error Maximum call stack size exceeded. This fix updates the code to avoid adding calls to the stack.

@OskarDamkjaer
Copy link
Contributor

Seems like the problem was using too many arguments to .push (for reference see: https://stackoverflow.com/questions/22747068/is-there-a-max-number-of-arguments-javascript-functions-can-accept)

@noahmay noahmay merged commit 364127c into neo4j:master Mar 18, 2024
15 checks passed
@noahmay noahmay deleted the fix-max-call-stack-csv-export branch March 18, 2024 08:35
@noahmay noahmay restored the fix-max-call-stack-csv-export branch March 18, 2024 08:35
@noahmay noahmay deleted the fix-max-call-stack-csv-export branch March 18, 2024 08:35
@OskarDamkjaer OskarDamkjaer changed the title Fix maximum call stack size exceeded for csv export Fix csv export of 100k+ rows Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants