Skip to main content

DEFAULT_MAX_TOTAL_BYTES

Constant DEFAULT_MAX_TOTAL_BYTES 

Source
pub const DEFAULT_MAX_TOTAL_BYTES: usize = _; // 1_073_741_824usize
Expand description

Maximum total bytes per trace. Hard cap to prevent a malicious or truncated file from exhausting memory during a parse_all collect. At 1 GB, covers months of production traffic for most agents while still refusing obvious denial-of-service payloads.