Skip to main content

memory_usage_bytes

Function memory_usage_bytes 

Source
pub fn memory_usage_bytes() -> usize
Expand description

Approximate resident bytes held by the cached HNSW index (flat embedding matrix + graph adjacency), 0 when empty. Used by the eviction orchestrator to weigh the ANN cache against the RSS budget.