Skip to main content
READY SIDEKIQHEAP TRIAGE // AMBER TRIAGE HUD TARGET: PUMA + SIDEKIQ JEMALLOC | REDIS NOEVICTION | INTERCOM EXIT
ChatwootQueues
ChatwootQueues Partner Notice: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
Error Triage Hub (9)

Elasticsearch JVM & Captain pgvector RAM Exhaustion on 4-8 GB VPS

Elasticsearch reserves 1-2 GB+ JVM heap on boot while pgvector HNSW indexes demand shared memory, crushing small 4-8 GB Chatwoot nodes.

ES Overhead: 1.5 - 3.0 GB RAM | Safe Switch: pgvector or Core PG FTS

Elasticsearch JVM & Captain pgvector RAM Exhaustion on 4-8 GB VPS
Telemetry verified 2026-10-31 by SidekiqHeap Triage.

Why Elasticsearch Breaks 8 GB Single-Node Chatwoot Stacks

When ELASTICSEARCH_URL is enabled alongside Puma, Sidekiq, PostgreSQL, and Redis on a single VPS, Elasticsearch JVM heap plus Lucene off-heap page cache consumes 2.0-3.5 GB before a single support ticket is searched. That leaves under 4 GB for Ruby and Postgres.

Comparing PostgreSQL pgvector vs Elasticsearch Memory Footprints

Modern Chatwoot releases lean on PostgreSQL + pgvector for Captain knowledge embeddings. Keeping pgvector inside tuned PostgreSQL on a 16 GB Hostinger KVM 4 node avoids running an extra JVM runtime while preserving fast semantic search.

Measured Thresholds & Configuration

Search / AI EngineAdded RAM FootprintMinimum Safe Host
Core PostgreSQL GIN FTS+150 - 350 MB8 GB Hostinger KVM 2
PostgreSQL pgvector (Captain)+600 - 1,400 MB8-16 GB KVM 2 / KVM 4
Dedicated Elasticsearch JVM+2,000 - 4,000 MB16 GB KVM 4 / Separate Node
ES Overhead: 1.5 - 3.0 GB RAM | Safe Switch: pgvector or Core PG FTS Deploy Hostinger KVM 4Vultr Cloud 8 GB ($40/mo)