The Good, the Bad, and the Leaky: jemalloc, bumpalo, and mimalloc in meilisearch
Summary
A technical case study on memory usage in Meilisearch focusing on allocator interactions (jemalloc, mimalloc, bumpalo) and LMDB. It documents how a perceived leak was traced to a bumpalo usage pattern, highlights the role of allocator cooperation across libraries, and discusses how allocator changes and AI-assisted analysis influenced debugging and performance testing. The piece provides practical takeaways on allocator choice, cross-library memory sharing, and SMB-friendly performance considerations.