code: function getMemoryUsage(unitInfo) {
    const data = process.memoryUsage();
    const keys = Object.keys(data);
    const result = {};
    keys.forEach((key) => {
      result[key] = format(data[key], unitInfo);
    });
    return result;
  }
docs: Get the memory usage
  @param {Object} unitInfo The unit format setting
  @returns {Object} The memory usage