MemoryKnobs
struct MemoryKnobsThe scheduler's (or worker's) settings for its runs' limits.
Implements Copyable, ImplicitlyCopyable, Movable
- Fields
default_mb: Int:ORCA_RUN_MEMORY_MB: the limit of a run without a request; 0 for what the host can grant.margin_pct: Int:ORCA_RUN_MEMORY_MARGIN(25):memory.maxthis many percent over the limit.growth_pct: Int:ORCA_RUN_MEMORY_GROWTH(1.5) as a percentage: a retry's memory after an out-of-memory kill.held_s: Int:ORCA_RUN_MEMORY_HELD_SECONDS(120): how long a run may be held at its limit (held) before it's killed as out of memory; 0: never.
from_env
def from_env() -> Self