kill it with fire
##in-process node.js process kill-switch
##forces node processes to crash based on certain restrictions like memory usage or uptime.
npm install kiwf
require('kiwf')(options);
maxMemory
- represents maximum memory process can handle before exiting
note: a negative value will indicate infinite memory
maxUptime
- determines how long the application will stay up for
note: a negative value will indicate infinite maxUptime