code: function getMemory(rusage) {
    var o = {}, mem = process.memoryUsage();
    o.used_memory = mem.heapUsed;
    o.used_memory_human = bytes.humanize(mem.heapUsed, 2, true);
    o.used_memory_rss = mem.rss;
    o.used_memory_peak = rusage.maxrss;
    o.used_memory_peak_human = bytes.humanize(rusage.maxrss, 2, true);
    return o;
  }
docs: Get memory info section.