Skip to main content

Module memory

Module memory 

Source
Expand description

Memory tracking for the keyspace.

Provides byte-level accounting of memory used by entries. Updated on every mutation so the engine can enforce memory limits and report stats without scanning the entire keyspace.

Structs§

MemoryTracker
Tracks memory usage for a single keyspace.

Functions§

entry_size
Estimates the total memory footprint of a single entry.