← All 25 Vector, Embedding & MCP Error Fixes

ERROR FIX #15 // QDRANT // LINUX OOMKILLED (EXIT 137)

Fix Qdrant Container OOMKilled (Exit 137) During HNSW Segment Merge & mmap Compaction

Setting on_disk: true on Qdrant vectors alone leaves HNSW graph links in RAM and allows background segment optimizers to allocate 2x transient memory while merging segments, triggering Linux OOMKiller (Exit 137). Set hnsw_config.on_disk = true, enable int8 scalar quantization, and cap max_indexing_threads = 1, or migrate to Voxell Forge (< 14 GB GPU VPC or $39/mo Cloud).

kernel: Out of memory: Killed process (qdrant) / container terminated with exitCode 137 during optimizer HNSW build

Why vectors.on_disk = true Still Crashes Qdrant Nodes During Compaction

During bulk upserts, Qdrant accumulates immutable segments and spawns background optimizer workers (max_indexing_threads) to merge them into a new HNSW graph while serving live queries from old segments. Transient RSS peaks at 1.8x..2.3x steady-state collection RAM unless both graph links (hnsw_config.on_disk) and optimizer concurrency are constrained.

Immediate Qdrant REST Fix: hnsw_config.on_disk + int8 Quantization + Thread Cap

PUT /collections/docs
{
  "vectors": { "size": 3072, "distance": "Cosine", "on_disk": true },
  "hnsw_config": { "m": 16, "ef_construct": 100, "on_disk": true },
  "optimizers_config": { "max_indexing_threads": 1, "indexing_threshold": 20000 },
  "quantization_config": {
    "scalar": { "type": "int8", "quantile": 0.99, "always_ram": true }
  }
}

Play 1 64-Bit GPU Cuckoo AMQ Without Segment Compaction OOMs

Voxell Forge replaces CPU HNSW segment-merge spikes with GPU-native retrieval, fitting embeddings, C_corpus conditioning, and Max neural reranking (0.8849 nDCG@10) inside < 14 GB VRAM on a single 24 GB GPU ($9,995/yr Dev) or managed Cloud ($199/mo Team annual).

Frequently Asked Questions

Why did Qdrant OOM 10 minutes AFTER my ingestion script finished?

Qdrant accepts fast unindexed writes first and triggers asynchronous HNSW segment compaction in the background once indexing_threshold is crossed.

What memory headroom does Qdrant recommend above raw vector size?

Without on-disk HNSW and scalar quantization, provision at least 1.5x to 2.0x the raw vector + graph footprint so segment merges never hit container cgroup limits.

AUTONOMOUS AGENT & DEVELOPER VERIFICATION // ZERO SIGNUP

Run a live keyless bake-off right now

Do not take a vendor table on faith. Run your own passages and queries against Voxell Forge (Pro 2560d + C_corpus zero-LLM ingest dialect conditioning + Max two-stage neural reranking) over REST or Zero-Install Remote Streamable HTTP MCP with zero API key.

1. REST Retrieval Bake-Off & Corpus X-Ray
curl -sS -X POST https://api.voxell.ai/api/v1/agent/bakeoff \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {"name": "policy-a.md", "text": "Standard subscriptions include a 30-day refund window."},
      {"name": "msa-b.md", "text": "Enterprise annual contracts carry a 14-day cancellation notice rule."}
    ],
    "queries": ["What is the standard subscription refund window?"]
  }'

curl -sS -X POST https://api.voxell.ai/api/v1/agent/xray \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {"name": "sla-2025.md", "text": "P1 response SLA is 4 hours."},
      {"name": "sla-2026.md", "text": "P1 response SLA is 15 minutes."}
    ]
  }'
2. Zero-Install Remote HTTP MCP (POST /mcp/try)
claude mcp add --transport http voxell-forge https://api.voxell.ai/mcp/try
# mcp.json: {"mcpServers":{"voxell-forge":{"url":"https://api.voxell.ai/mcp/try"}}}

curl -sS -X POST https://api.voxell.ai/mcp/try \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "forge_bakeoff_compare",
      "arguments": {
        "documents": [
          {"name": "vpc.md", "text": "Forge Local runs on 1x 24 GB GPU inside your Sovereign VPC with zero egress."}
        ],
        "queries": ["How many GPUs does Forge Local require?"]
      }
    }
  }'
# Tools exposed: forge_bakeoff_compare, forge_xray_audit