FlowiseAI & Langflow Heap, Queue & Offload Fixes (7 Guides)
Copy-ready Docker Compose, .env, Redis BullMQ, Celery, Postgres, and Make.com hybrid configurations tested on Hostinger KVM 2, KVM 4, and KVM 8.
7 Remediation Guides
NODE_OPTIONS Heap Tuning
Setting --max-old-space-size too low crashes PDF chunking with JS Heap OOM; setting it too high starves Postgres, Redis, and Qdrant into a Linux OOM kill.
Flowise Redis Queue Mode
Decoupling web API requests from heavy LLM/RAG execution via MODE=queue eliminates event-loop freezes and lets you scale worker containers independently.
Langflow Celery Recycling
Adding --max-tasks-per-child=50 and strict concurrency bounds stops Langflow Celery workers from leaking C-extension PDF parser memory indefinitely.
Batch PDF Chunking Strategy
Never upload a 500 MB PDF bundle in a single Flowise Document Store click. Micro-batching 50-100 pages per API upsert keeps V8 heap flat under 2 GB.
Make.com Webhook Offload
Use your Hostinger KVM VPS for private vector databases and LLM routing while Make.com orchestrates async triggers, rate-limiting, and exponential backoff.
SQLite to Postgres Migration
Switching from SQLite to pgvector/pgvector:pg16 unlocks concurrent agent execution, Queue Mode worker safety, and unified vector + relational backups.
300s Proxy & SSE Streaming
Properly disabling proxy buffering and extending read timeouts to 300 seconds prevents premature 504/524 disconnects on multi-tool agent chains.