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 limit. - A memory consumer that can be tracked by
MemoryReservation
in aMemoryPool
. All allocations are registered to a particularMemoryConsumer
; - A
MemoryReservation
tracks an individual reservation of a number of bytes of memory in aMemoryPool
that is freed back to the pool on drop. - A
MemoryPool
that enforces no limit
Traits
- The pool of memory on which
MemoryReservation
s record their memory reservations.
Functions
- Present size in human readable form