</>EmbeddedInterview

How do you debug a Linux memory leak?

MediumDebugging, Testing & Tools

Track allocation growth over time; use sanitizers or Valgrind in userspace and kmemleak or allocation tracing in the kernel.