Objects memory leaks (Heroku to 1.5 GB memory usage when nodejs is configured to max 512M) Objects memory leaks (Heroku to 1.5 GB memory usage when nodejs is configured to max 512M) express express

Objects memory leaks (Heroku to 1.5 GB memory usage when nodejs is configured to max 512M)


You can use node-memwatch package to monitor for the memory leak and when there is a memory leak you can restart the app from the code itself.

Restart a node.js app from code level