TLDR Web Dev · ARTICLES & TUTORIALS

HUNTING A MEMORY LEAK

dolthub.com8 min read

Summary from the TLDR Web Dev newsletter

DoltHub discovered a memory leak in its Dolt SQL Server after a customer reported steadily growing memory usage. While it used Go's memory profiling tools to investigate the issue, it found that the Go heap wasn't actually growing. Instead, the memory leak was occurring in kernel space, so the root cause was related to file system operations rather than application memory management.