{
  "source": "system.js",
  "method": "memoryUsage",
  "input-schema": {
    "type": "null"
  },
  "output-schema": {
    "type": "object",
    "description": "Memory usage of the process measured in bytes.",
    "properties": {
      "rss": {
        "type": "integer",
        "description": "Resident Set Size, is the amount of space occupied in the main memory device (that is a subset of the total allocated memory) for the process."
      },
      "heapTotal": {
        "type": "integer",
        "description": "V8's memory usage"
      },
      "heapUsed": {
        "type": "integer",
        "description": "V8's memory usage"
      },
      "external": {
        "type": "integer",
        "description": "Tthe memory usage of C++ objects bound to JavaScript objects managed by V8."
      },
      "arrayBuffers": {
        "type": "integer",
        "description": "The memory allocated for ArrayBuffers and SharedArrayBuffers, including all Node.js Buffers"
      }
    }
  },
  "meta": {
    "name": "memoryUsage",
    "description": "Returns the memory usage of the current process."
  }
}