pub fn effective_limit(max_bytes: usize) -> usizeExpand description
Computes the effective memory limit after applying the safety margin.
Returns the number of bytes at which writes should be rejected or eviction should begin — always less than the raw configured limit.