Module memory_limiter

Source
Expand description

Utilities to limit memory usage.

Structsยง

Limiter ๐Ÿ”’
A handle to a running memory limiter task.
LimiterConfig ๐Ÿ”’
Configuration for an memory limiter task.
LimiterMetrics ๐Ÿ”’
LimiterTask ๐Ÿ”’
A task that enforces configured memory limits.
ProcStatus
Helper for reading and parsing /proc/self/status on Linux.

Staticsยง

LIMITER ๐Ÿ”’
A handle to the active memory limiter.

Functionsยง

apply_limiter_config
Apply the given configuration to the active limiter.
start_limiter
Start the process-global memory limiter.