Expand description
MemoryPool for memory management during query execution, proxy for
help with allocation accounting.
Modules§
Structs§
- Fair
Spill Pool - 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) - Greedy
Memory Pool - A
MemoryPoolthat implements a greedy first-come first-serve limit. - Memory
Consumer - A memory consumer is a named allocation traced by a particular
MemoryReservationin aMemoryPool. All allocations are registered to a particularMemoryConsumer; - Memory
Reservation - A
MemoryReservationtracks an individual reservation of a number of bytes of memory in aMemoryPoolthat is freed back to the pool on drop. - Track
Consumers Pool - A
MemoryPoolthat tracks the consumers that have reserved memory within the inner memory pool. - Unbounded
Memory Pool - A
MemoryPoolthat enforces no limit
Enums§
- Memory
Limit - Memory limit of
MemoryPool
Traits§
- Memory
Pool - Tracks and potentially limits memory use across operators during execution.
Functions§
- human_
readable_ size - Present size in human-readable form