Add more stack size.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2024-11-02 18:34:51 +02:00
parent 282a5b30f9
commit 324be07b85
6 changed files with 7 additions and 7 deletions

View file

@ -36,4 +36,4 @@ cd $APPLICATION_DIRECTORY
# bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js"
#---------------------------------------------------------------------
#bash -c "ulimit -s 65500; exec $NODE_PATH/node --stack-size=65500 $APPLICATION_START"
bash -c "ulimit -s 65500; exec $NODE_PATH/node $APPLICATION_START"
bash -c "ulimit -s 65500; exec $NODE_PATH/node --stack-size=65500 --max-old-space-size=8192 $APPLICATION_START"