Personal tools
You are here: Home EGO ITF Software Support&Maintenance Dealing with memory leaks
Navigation
Log in


Forgot your username or password?
 
Document Actions

Dealing with memory leaks

by Bernhard Lopez last modified 2007-03-01 11:29


A simple and quick way of checking malloc calls is to set the environment variable MALLOC_CHECK_ to 1 and starting the application.

Apart from that more detailed information can be obtained by incorporating in the code dedicated tools like Valgrind or mpatrol, or to use code inspection tools like Purify.