Binary package “memleax” in ubuntu bionic
debug a running process for memory leaks
Memleax helps debug memory leaks by attaching to a process that is
already running. Memleax then tracks changes to allocated memory,
reports memory leaks, and "maybe memory leaks" in real-time.
.
Where Valgrind excels at formal profiling, Memleax excels at catching
difficult to reproduce memory leaks the times when one wasn't
prepared for them to occur. Memleax will track new threads, but not
forked processes. To debug multiple processes, just run multiple
instances of memleax!
.
It is very convenient to use, and is suitable for production
environments.