programmatically increase js heap size code example Example: nodejs increase heap size NODE_OPTIONS=--max-old-space-size=8192 npm start