Skip to main content

Module memory_budget

Module memory_budget 

Source
Expand description

Per-query memory budget for blocking operators.

Replaces the hardcoded 100MB limit with a configurable budget passed through ExecutionContext.

Structs§

MemoryBudget
Memory budget for a single query execution.
MemoryReservation
RAII guard that releases reserved memory when dropped.
MemoryTracker
Per-operator memory tracker wrapping a shared MemoryBudget.
MemoryTrackerReservation
Scoped reservation associated with one MemoryTracker.

Traits§

Spillable
Trait for operators that can spill intermediate data to disk.