LlamaIndex OOM error during Kafka batch processing in production
LlamaIndex OOM error during Kafka batch processing in production Problem In a high‑throughput event‑driven pipeline, a LlamaIndex worker consumes document batches from Kafka, creates embeddings using a transformer model, and stores the indexed vectors in a vector store. Under load the worker crashes with an out‑of‑memory (OOM) termination: 2024-10-12 03:45:21,874 ERROR worker.py:124 — Process terminated … Read more