← Back to Memory domain

Memory.forciblyPurgeJavaScriptMemory

Simulate OomIntervention by purging V8 memory.

Domain: Memory experimental

Example Request

{
  "id": 1,
  "method": "Memory.forciblyPurgeJavaScriptMemory"
}

Example Response

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

Usage in Node.js

const result = await send('Memory.forciblyPurgeJavaScriptMemory');
console.log(result);