lib/info.js
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;
}
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;
}
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 ; }
Get memory info section.
Get memory info section .