Diagnosing and Fixing Rust Memory Leak Issues in GreptimeDB
This article records the whole process of diagnosing and fixing a Rust memory leak issue encountered in GreptimeDB. Leveraging jemalloc's heap profiling and tokio-console, combined with diligent code review, we effectively identified and addressed the issue. Here we offer some key insights and recommendations for reference.
greptime.com