Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Please suggest a C++ source code analysis tool for debugging memory leak (http://www.programmingforums.org/showthread.php?t=15677)

Michael_24 Apr 22nd, 2008 2:22 AM

Please suggest a C++ source code analysis tool for debugging memory leak
 
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?

victor louis Apr 22nd, 2008 3:14 AM

you can use Source code analysis tool like Coverity Prevent
 
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.

dr.p Apr 22nd, 2008 10:17 AM

Re: Please suggest a C++ source code analysis tool for debugging memory leak
 
I use an open source, Visual Studio Plug-In called "Visual Leak Detector."

http://www.codeproject.com/KB/applic...kdetector.aspx

Narue Apr 22nd, 2008 11:06 AM

Re: Please suggest a C++ source code analysis tool for debugging memory leak
 
victor louis and Michael_24 are the same person. The questions are bogus and meant to open the door for solicitation of a product. This guy is a spammer, so please report any further posts by either of these accounts so that they can be dealt with accordingly.


All times are GMT -5. The time now is 9:15 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC