Valgrind

Valgrind is an open-source instrumentation framework / dynamic analysis tool commonly used for memory profiling of applications.

www.valgrind.org