neo4j / neo4j-browser

Neo4j Browser is the general purpose user interface for working with Neo4j. Query, visualize, administrate and monitor the database.
https://neo4j.com
GNU General Public License v3.0
671 stars 345 forks source link

Fix csv export of 100k+ rows #1963

Closed noahmay closed 5 months ago

noahmay commented 5 months ago

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 commented 5 months ago

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)