Expand description
Utilities to limit memory usage.
Structsยง
- Limiter ๐
- A handle to a running memory limiter task.
- Limiter
Config ๐ - Configuration for an memory limiter task.
- Limiter
Metrics ๐ - Limiter
Task ๐ - A task that enforces configured memory limits.
- Proc
Status - 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.