pub fn memory_watch(
config: &Config,
limit: Option<u64>,
default_reserve: Reserve,
) -> MemoryWatchExpand description
How the memory watchdog watches tasks: [worker] memory_budget, else (limit − the
reserve) ÷ slots, the reserve [worker] memory_reserve or default_reserve; without a
budget or a limit it only measures.