This is part of code to proceed big number of entries ( originally its works with file system and make some operations with files) . Is there any nice way to bypass the limitat
An option could be passing --max-stack-size
to node
.
node --max-stack-size 32000 app.js
For reference, use node -h
--max-stack-size=val
set max v8 stack size (bytes)
Even though help prints it as --max-stack-size
, in node -v
v0.10.x
+ you need to use --stack-size
instead.
node --stack-size=32000 app.js