Node.js has memory limitations that you can hit quite easily in production. By default, Node.js (up to 11.x ) uses a maximum heap size of 700MB and 1400MB on 32-bit and 64-bit platforms, respectively. You’ll know this if you ever tried to load a large data file into your Node.js application. How do we work-around this limit?

#heap #memory-improvement #javascript #pm2 #nodejs

Increase Node.js Memory Limit (Bonus: PM2)
16.85 GEEK