Skip to content

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.

@noahmay noahmay requested a review from OskarDamkjaer March 12, 2024 12:31
@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
@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