DZone ForumsDZone Forums  

Go Back   DZone Forums > Community > Languages & Frameworks > C & C++
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
LinkBack Thread Tools Display Modes

Topic: Please suggest a C++ source code analysis tool for debugging memory leak
Old 04-22-2008, 12:10 AM   #1 (permalink)
Member
 
Join Date: Mar 2008
Posts: 2
Hi... we are providing software support for one of the famous retailers in U.S. The code has been written in C++. Our field test customers feel that the application software is very slow.
Before we deliver the software to our clients, we are in a urge to improve the performance of the application. Some of our software engineers suspect that the memory dirty pages are too high in the application. They feel that the code have lot of memory leaks. Are there ways to improve the performance of the software?? Is there any tool that finds us the memory leaks in the code? Please suggest?
Steve martin is offline   Reply /w Quote -


Topic: you can use Source code analysis tool like Coverity Prevent
Old 04-22-2008, 12:24 AM   #2 (permalink)
Member
 
Join Date: Apr 2008
Posts: 1
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 Coverity webpage
godwin24 is offline   Reply /w Quote -


Thread Tools
Display Modes




All times are GMT -5. The time now is 05:02 PM.