Expand description
MemoryPool
for memory management during query execution, [proxy]
for
help with allocation accounting.
Modules§
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 is a named allocation traced by a particular
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 tracks the consumers that have reserved memory within the inner memory pool. - A
MemoryPool
that enforces no limit
Traits§
- Tracks and potentially limits memory use across operators during execution.
Functions§
- Present size in human readable form