Skip to main content
OPS LIVE NODEFLOW DIAGNOSTICS // FLOWISEAI & LANGFLOW BASELINE: 2026-10-21 | V8 HEAP + REDIS QUEUE MODE + MAKE HYBRID
FlowiseAgent
FlowiseAgent Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
Fix Guides // NodeFlow Diagnostics

Batching 20,000-Page PDF Ingestion Without V8 Heap OOM

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.

Measured Stack Telemetry & Memory Profile

Memory spikes scale linearly with unsplit document batch size because Flowise holds extracted text, split chunks, and embedding JSON responses in memory until upsert completes. Streaming 50-page batches via the Document Store API or Make.com iterator keeps peak RSS predictable.

Subsystem / SignalMeasured TargetOperational Impact
Monolithic 10k-Page Upload9.5 - 14 GB Peak HeapHigh risk of JS Heap OOM & 504 timeout
50-Page Micro-Batch Pipeline1.8 - 2.6 GB Peak HeapZero OOM; safe even on KVM 2/KVM 4
Optimal Splitter SettingschunkSize=1000 / overlap=150Balanced retrieval precision & vector count

Step-by-Step Triage & Config Remediation

  1. Split oversized PDFs pre-upload: Slice multi-hundred-page PDFs into 50-page segments before hitting Flowise Document Store upsert.
  2. Tune chunkSize and overlap: Use chunkSize=1000 and chunkOverlap=150 to avoid exploding total vector count unnecessarily.
  3. Automate micro-batches with Make.com: Watch Google Drive/S3 in Make.com (10k free Pro ops 1st mo) and push sequential chunks with 2s spacing.
POST /api/v1/document-store/upsert/<storeId>
# Batch target: <= 50 pages / <= 15 MB per HTTP call
# Splitter: chunkSize=1000, chunkOverlap=150

Diagnostic FAQ

Does smaller chunkSize increase or decrease RAM?

Smaller chunkSize (e.g., 300) doubles vector count and embedding array overhead; 800-1200 chars is the sweet spot.

How many Make.com operations does a 1,000-page batch use?

Roughly 20-40 operations when chunked into 50-page batches—fitting comfortably inside the 10,000 free 1st-month Pro ops.

Related Fix Guides Guides

FlowiseAgent: Size V8 heap & Redis workers before deploying Claim 10k Free Ops