View Single Post
Old Apr 22nd, 2008, 3:14 AM   #2
victor louis
Newbie
 
Join Date: Mar 2008
Posts: 2
Rep Power: 0 victor louis is on a distinguished road
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.

Last edited by Narue; Apr 22nd, 2008 at 11:07 AM. Reason: Snipped advertisement
victor louis is offline   Reply With Quote