class MemoryOperations
(source)
MemoryOperations represents Memory protocol domain request/response operations and events that can be captured.
This API is marked as experimental in protocol definition and can change in the future.
Link
Protocol Memory domain documentation.
fun events(): Flowable<Event>
Returns flowable capturing all Memory domains events. |
|
fun forciblyPurgeJavaScriptMemory(): Single<ResponseFrame>
Simulate OomIntervention by purging V8 memory. |
|
fun getAllTimeSamplingProfile(): Single<GetAllTimeSamplingProfileResponse>
Retrieve native memory allocations profile collected since renderer process startup. |
|
fun getBrowserSamplingProfile(): Single<GetBrowserSamplingProfileResponse>
Retrieve native memory allocations profile collected since browser process startup. |
|
fun getDOMCounters(): Single<GetDOMCountersResponse> |
|
fun getSamplingProfile(): Single<GetSamplingProfileResponse>
Retrieve native memory allocations profile collected since last
|
|
fun prepareForLeakDetection(): Single<ResponseFrame> |
|
fun setPressureNotificationsSuppressed(input: SetPressureNotificationsSuppressedRequest): Single<ResponseFrame>
Enable/disable suppressing memory pressure notifications in all processes. |
|
fun simulatePressureNotification(input: SimulatePressureNotificationRequest): Single<ResponseFrame>
Simulate a memory pressure notification in all processes. |
|
fun startSampling(input: StartSamplingRequest): Single<ResponseFrame>
Start collecting native memory profile. |
|
fun stopSampling(): Single<ResponseFrame>
Stop collecting native memory profile. |