Skip to main content

decode_memory_budget

Function decode_memory_budget 

Source
pub fn decode_memory_budget() -> DecodeMemoryBudget
Expand description

Resolve the decode-buffer memory budget from the environment.

Reads ENV_DECODE_MAX_MEMORY_MB; falls back to DEFAULT_DECODE_MAX_MEMORY_MB and clamps to [MIN_DECODE_MAX_MEMORY_MB, MAX_DECODE_MAX_MEMORY_MB].