Home Forums C Programming Please suggest a tool for debugging memory leak Reply To: Please suggest a tool for debugging memory leak


Hi, typically, a memory leak occurs because dynamically allocated memory has become unreachable. You can prevent memory leaks by watching for some common problems. Collection classes, such as hash tables and vectors, are common places to find the cause of a memory leak. This is particularly true if the class has been declared static and exists for the life of the application. . The prevalence of memory leak bugs has led to the development of a number of debugging tools
to detect unreachable memory. Coverity Prevent is one of the tool that you can use for fixing these kinds of bugs.  

Coverity Prevent is also used by the Department of Homeland security to scan many open source projects. You can get more info at http://www.Coverity.com