The Computer World portal has published an article listing 5 memory debuggers that can be used while coding linux. This article lists 5 popular, free and open source memory debuggers such as Dmalloc, Electric Fence, Mcheck, Mwatch and Mtrace.
As a programmer, I'm aware that I tend to make mistakes -- and why not? Even programmers are human. Some errors are detected during code compilation, while others get caught during software testing. However, a category of error exists that usually does not get detected at either of these stages and that may cause the software to behave unexpectedly -- or worse, terminate prematurely.Read complete article in Computer World Portal.
If you haven't already guessed it, I am talking about memory-related errors. Manually debugging these errors can be not only time-consuming but difficult to find and correct. Also, it's worth mentioning that these errors are surprisingly common, especially in software written in programming languages like C and C++, which were designed for use with manual memory management.