Skip to main content

Module memory

Module memory 

Source
Expand description

The Memory domain.

Method names for the Memory domain, for use with CdpClient::call.

This domain is experimental and may change without notice.

Constantsยง

FORCIBLY_PURGE_JAVA_SCRIPT_MEMORY
Simulate OomIntervention by purging V8 memory.
GET_ALL_TIME_SAMPLING_PROFILE
Retrieve native memory allocations profile collected since renderer process startup.
GET_BROWSER_SAMPLING_PROFILE
Retrieve native memory allocations profile collected since browser process startup.
GET_DOM_COUNTERS
Retruns current DOM object counters.
GET_DOM_COUNTERS_FOR_LEAK_DETECTION
Retruns DOM object counters after preparing renderer for leak detection.
GET_SAMPLING_PROFILE
Retrieve native memory allocations profile collected since last startSampling call.
PREPARE_FOR_LEAK_DETECTION
Prepares for leak detection by terminating workers, stopping spellcheckers, dropping non-essential internal caches, running garbage collections, etc.
SET_PRESSURE_NOTIFICATIONS_SUPPRESSED
Enable/disable suppressing memory pressure notifications in all processes.
SIMULATE_PRESSURE_NOTIFICATION
Simulate a memory pressure notification in all processes.
START_SAMPLING
Start collecting native memory profile.
STOP_SAMPLING
Stop collecting native memory profile.