MemoryMonitorConfig

Diagnostics configuration options for the memory monitor configuration area.

FieldTypeDescriptionDefault
warning_capture_delay_s uint32 Expected delay between scheduled captures when the memory pressure is abnormal, in seconds.
normal_capture_delay_s uint32 Expected delay between scheduled captures when the memory pressure is normal, in seconds.
imminent_oom_capture_delay_s uint32 Expected delay between scheduled captures upon imminent OOM, in seconds.
critical_capture_delay_s uint32 Expected delay between scheduled captures when the memory pressure is critical, in seconds.
capture_periodically PeriodicCaptureConfig Control whether memory monitor periodically captures memory usage, to report it to Cobalt and record it in Inspect. This is either the string `"disabled"`, or an object containing the (optional) delay between periodic captures.
capture_on_pressure_change bool Control whether a pressure change should trigger a capture.
buckets Option The memory buckets config file to provide to memory monitor.