Milvus Query Node Out of Memory (OOM)
Workaround available Self-hosted, Kubernetes Updated November 15, 2026Based on 3 user reportsHow we research
Quick answer
Loading puts index and raw data in RAM. Cut memory by loading fewer fields, using a smaller index, releasing unused collections or adding query nodes.
Most likely fix: Reduce what is loaded
How to fix it
Try these in order — the most common fix is first.
1. Reduce what is loaded
- Use load_fields to load only needed fields (beta, not recommended for production per docs)
- Set skip_load_dynamic_field if you do not use $meta keys
- Release collections you are not using
Did this fix it?2. Use a lighter index
- Move to IVF_SQ8 (third-party guide says about 4x less memory), IVF_PQ, or DISKANN for data larger than RAM
- Rebuild the index and reload
Did this fix it?3. Size Kubernetes resources
- Set resources.requests and limits for queryNode in the Helm values (docs example: 16Gi limit, 4Gi request)
- helm upgrade ... --reuse-values -f resources.yaml
- Add query nodes
Did this fix it?
Symptoms
Query node killed, load fails with OOM, loaded collections show 0 after a kill.
Why it happens
- Collection larger than node memory
- Float vectors with HNSW use lots of RAM
- Index builds peaking alongside searches
- No Kubernetes resource limits or limits too low
This guide also covers
- milvus out of memory
- milvus querynode oom
- milvus load segment failed oom
Still not working?
If Milvus keeps failing, you're not alone. See every Milvus problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
Other Milvus errors
- Milvus "collection not loaded" Error
- Milvus "field dimension mismatch" Error
- Milvus Connection Refused / Timeout (19530)
- Milvus etcd and MinIO Dependency Errors
- Why Is Milvus Search Slow?
- Milvus "index not exist" Error
- Milvus Search Returns Empty Results After Insert
- How to Cancel Zilliz Cloud (Milvus) Subscription