pub struct MemoryBudget {
pub block_cache: u64,
pub dict_cache: u64,
pub tile_cache: u64,
}Expand description
How a total --memory-budget-mb splits across the export’s three bounded
consumers. The window’s per-row string buffer and the id buffer are small
(bounded by the fixed window row count, not the file), so they are left in
the slack between this sum and the total rather than given a named cap; peak
RSS is therefore ≈ total + window_string_buffer + fixed open overhead.
Fields§
§block_cache: u64Raw file-block LRU (the BlockCacheReader that backs the ranged reader).
dict_cache: u64Decompressed dictionary chunk bodies (the old ~4.3 GB export floor).
tile_cache: u64Decoded index tiles of the scanned permutation.
Trait Implementations§
Source§impl Clone for MemoryBudget
impl Clone for MemoryBudget
Source§fn clone(&self) -> MemoryBudget
fn clone(&self) -> MemoryBudget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemoryBudget
Auto Trait Implementations§
impl Freeze for MemoryBudget
impl RefUnwindSafe for MemoryBudget
impl Send for MemoryBudget
impl Sync for MemoryBudget
impl Unpin for MemoryBudget
impl UnsafeUnpin for MemoryBudget
impl UnwindSafe for MemoryBudget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more