← Back to HeapProfiler domain

HeapProfiler.collectGarbage

No description available.

Domain: HeapProfiler experimental

Example Request

{
  "id": 1,
  "method": "HeapProfiler.collectGarbage"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('HeapProfiler.collectGarbage');
console.log(result);