[nodejs] increase memory limit
Problem
Your Node.js program terminates with a “process out of memory” error. How to increase the memory limit?
Solution
Launch your program with the following switch:
node --max-old-space-size=8192 mem_eater.js
This way you give 8 GB RAM to your process.
More tips here.
Comments (0)
Leave a comment
