← All 25 Vector, Embedding & MCP Error Fixes

ERROR FIX #16 // WEAVIATE // RUNTIME: OUT OF MEMORY

Fix Weaviate fatal error: runtime: out of memory & GOMEMLIMIT HNSW vectorCacheMaxObjects Crash

Weaviate defaults vectorCacheMaxObjects to 1,000,000,000,000 (effectively unbounded) and runs on the Go garbage collector, causing container RSS to exceed Kubernetes limits with runtime: out of memory unless GOMEMLIMIT, LIMIT_RESOURCES, and BQ/RQ/PQ compression are explicitly configured. Set GOMEMLIMIT to 80% of pod RAM and enable RQ/BQ quantization, or switch to Voxell Forge ($499/mo Scale; $29,995/yr VPC).

fatal error: runtime: out of memory / runtime: failed to allocate arena (Weaviate HNSW vectorCacheMaxObjects)

Why Go GC + vectorCacheMaxObjects: 1e12 Triggers Sudden Pod Evictions

Without GOMEMLIMIT, Go’s default GOGC=100 waits until live heap doubles before running a full GC cycle, while Weaviate’s HNSW cache eagerly retains uncompressed float32 vectors in Go heap memory. On 10M 3,072d vectors (~120 GB raw floats), Go heap allocation outruns container cgroups instantly.

Immediate Helm / Env + Schema Fix: Pin GOMEMLIMIT + Rotational/Binary Quantization

# Kubernetes deployment env for Weaviate (assuming 32Gi container memory limit)
env:
  - name: GOMEMLIMIT
    value: "26GiB"
  - name: LIMIT_RESOURCES
    value: "true"
# And in Collection vectorIndexConfig, cap vectorCacheMaxObjects and enable compression (RQ / PQ / BQ).

Zero Go Heap Tuning or Dimension-Tax Multipliers With Voxell Forge

Skip tuning Go GC arenas and paying Weaviate Cloud dimensions * HA multipliers. Voxell Forge runs deterministically in fixed CUDA memory (< 14 GB VRAM on 1x 24 GB GPU, $29,995/yr Prod) or turnkey Cloud ($199/mo Team annual).

Frequently Asked Questions

What should GOMEMLIMIT be set to on Weaviate Kubernetes pods?

Set GOMEMLIMIT to 75% to 82% of the pod cgroup memory limit so Go garbage collection runs aggressively while leaving room for mmap pages and OS buffers.

Does lowering vectorCacheMaxObjects alone stop Weaviate OOMs?

Lowering vectorCacheMaxObjects caps cached float vectors, but HNSW graph edges still reside in memory; combine PQ/BQ/RQ compression with GOMEMLIMIT for stable RSS.

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