I tried to change the stack-size from an article on SO but im not sure if the stack-size is actually changed. Ive found no way to actually check what the size is:
For windows, using the same approach as User Daniel - Stack Overflow 's answer:
- Rename
C:\Program Files\nodejs\node.exetoC:\Program Files\nodejs\node_origin.exe - Create
C:\Program Files\nodejs\node.cmdwith the following contents:
@ECHO OFF
SET "NODE_EXE=C:\Program Files\nodejs\node_origin.exe"
echo Running node with '--stack-size=4096'
"%NODE_EXE%" "--stack-size=4096" %*
But that also had no affect on my issue. I’m at a loss here. 
