Watch where an application allocates memory with valgrind
Updated -
When trying to reduce the memory use of an application one needs to find out where the memory allocation is occurring in the application. Valgrind's Massif toolis able to show where in the code memory is being allocated; the valgrind package is available on Red Hat Enterprise Linux 5 and newer distributions.
Valgrind uses binary rewrites to instrument the memory allocation functions suc...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.