Nodejs Start Your App With Increased Memory Limit


Nodejs Start Your App With Increased Memory Limit

start your Node.js app with increased memory limit to 8 GB.

1
pm2 start my_app.js --node-args="--max_old_space_size=8192"