pm2 崩溃后怎么重启启动之前的node进程
查看pm2日志发现
Committing semi space failed. Allocation failed - process out of memory
有什么办法解决吗
设置超过内存上限重启,好像就好了pm2 start app.js --max-memory-restart 200M
pm2 start app.js --max-memory-restart 200M
1.4m articles
1.4m replys
5 comments
57.0k users