Module datafusion_execution::memory_pool
source · Expand description
MemoryPool for memory management during query execution, [proxy] for
help with allocation accounting.
Modules§
Structs§
- A
MemoryPoolthat 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
MemoryPoolthat implements a greedy first-come first-serve limit. - A memory consumer is a named allocation traced by a particular
MemoryReservationin aMemoryPool. All allocations are registered to a particularMemoryConsumer; - A
MemoryReservationtracks an individual reservation of a number of bytes of memory in aMemoryPoolthat is freed back to the pool on drop. - A
MemoryPoolthat enforces no limit
Traits§
- Tracks and potentially limits memory use across operators during execution.
Functions§
- Present size in human readable form