Module datafusion::execution::memory_pool
source · Expand description
Manages all available memory during query execution
Modules
Utilities that help with tracking of memory allocations.
Structs
A
MemoryPool
that prevents spillable reservations from using more than
an even fraction of the available memory sans any unspillable reservations
(i.e. (pool_size - unspillable_memory) / num_spillable_reservations
)A
MemoryPool
that implements a greedy first-come first-serve limitA memory consumer that can be tracked by
MemoryReservation
in a MemoryPool
A
MemoryReservation
tracks a reservation of memory in a MemoryPool
that is freed back to the pool on dropA
MemoryPool
that enforces no limitTraits
The pool of memory on which
MemoryReservation
record their memory reservationsFunctions
Present size in human readable form