Memory Monitor
In this example, memory monitoring is demonstrated
File : memoryMonitor.js
const net = require('net');
const debug = require('pretty-debug');
debug.info('Example : Memory Monitor');
debug.memoryWatermark();
debug.sysMemoryMonitor();
debug.nodeMemoryMonitor();
Run Example
To run the above example simply run the command below
$ node memoryMonitor.js