Why does an HNSW vector index require far more RAM than raw vector bytes alone?
HNSW builds a multi-layer proximity graph in memory alongside your vectors. Each node stores roughly M * 2 bidirectional 4-byte neighbor pointers plus payload metadata and OS page-cache headroom, which often adds 20% to 50% on top of raw embeddings.