increase memory for node code example
Example 1: node parameter add memory
node --max-old-space-size=8192 server.js
Example 2: increase-memory-limit not working node
NODE_OPTIONS=--max_old_space_size=4096
node --max-old-space-size=8192 server.js
NODE_OPTIONS=--max_old_space_size=4096