How can I increase the maximum call stack size in Node.js

From node --help:

node --max-stack-size=val

Update: as the comments indicate, even though the help text still lists the --max-stack-size option, in node v0.10.x you need to use --stack-size instead.

node --stack-size=val

Leave a Comment