Hello Jane Smith,
The out of memory crash occurs because building graph based indices such as HNSW for high dimensional vectors requires several times more RAM than the raw data footprint. When segment sizes are left too large while multiple ingestion threads run indexing jobs simultaneously, host memory reaches full saturation, which forces the operating system to terminate the vector database process.
To resolve this, reduce the maximum segment size in your database configuration down to 256MB or 512MB instead of the default 1024MB, which effectively caps the peak memory required during background consolidation and index merges. At the same time, enable memory-mapped files via mmap for your vector fields and configure your disk offload thresholds to aggressively flush in-memory buffers when system RAM utilization hits 70 to 75 percent. Additionally, limit the number of concurrent indexing worker threads to align strictly with your physical CPU core budget to prevent memory runaway. If this configuration stabilizes your data pipeline and resolves the OOM crashes, please accept the answer.
Tracy Le.