Memory Domain
Functions
Link copied to clipboard
Simulate OomIntervention by purging V8 memory.
Link copied to clipboard
Retrieve native memory allocations profile collected since renderer process startup.
Link copied to clipboard
Retrieve native memory allocations profile collected since browser process startup.
Link copied to clipboard
Link copied to clipboard
Retrieve native memory allocations profile collected since last startSampling call.
Link copied to clipboard
Link copied to clipboard
suspend fun setPressureNotificationsSuppressed(suppressed: Boolean): SetPressureNotificationsSuppressedResponse
suspend fun setPressureNotificationsSuppressed(input: SetPressureNotificationsSuppressedRequest): SetPressureNotificationsSuppressedResponse
Enable/disable suppressing memory pressure notifications in all processes.
Link copied to clipboard
suspend fun simulatePressureNotification(level: PressureLevel): SimulatePressureNotificationResponse
suspend fun simulatePressureNotification(input: SimulatePressureNotificationRequest): SimulatePressureNotificationResponse
Simulate a memory pressure notification in all processes.
Link copied to clipboard
inline suspend fun startSampling(optionalArgs: StartSamplingRequest.Builder.() -> Unit = {}): StartSamplingResponse
Start collecting native memory profile.
Link copied to clipboard
Stop collecting native memory profile.