TLDRocket
Sign in

Mistral AI

35 summarised stories about Mistral AI, each linking back to the original source. Browse all topics →

Wednesday, 21 January 2026

Heaps do lie: debugging a memory leak in vLLM.

Mistral AI 5 months ago

Mistral AI's engineering team debugged a memory leak in vLLM that caused 400 MB per minute of memory growth under specific conditions involving disaggregated serving and graph compilation. The leak occurred outside the heap in anonymous memory mappings managed by mremap system calls, which reallocated memory without properly releasing it, and was traced using BPFtrace after standard heap profiling tools proved inadequate. The investigation required moving beyond Python and heap-level analysis to kernel-level tracing to identify that NIXL's KV Cache transfer through UCX was triggering uncontrolled memory resizing.