Read & Write Reviews About The Tools You Use.
Sign up for free to start sharing your opinion today!

Dmalloc


Company: Gray Watson

Average User Rating (2 reviews)

If this is your product, you can request to edit it here.


User Reviews
Share:


    "Great to have in the toolbox"

    by jowen on Sep 9, 2011 8:46 PM

    Summary:
    Dmalloc is an open source tool for finding problems with memory—allocation, leaks, etc. It comes with Montevista Linux, but it is also useful for Ubuntu. Memory leaks are both destructive and difficult to spot, so Dmalloc is always at the ready in my toolbox. If you use it for dynamic analysis, be sure that you use another comparable debugger first, because Dmalloc is best at this specific niche of the test process, though it was originally designed for debugging large programs. Note that you may be able to find some, but not all of the memory leaks that Dmalloc finds through looking for collection classes, but that becomes tedious after a while. I’ve also been warned against using Dmalloc for C++, so I’ll leave that out there. Dmalloc was created by a single programmer, whose site is still up for support.

    Report post

    Was this review helpful? (0) (0)

    add a comment


    "Dmalloc has its advantages & disadvantages"

    by Ben_msft_314R2 on Sep 9, 2011 1:28 PM

    Summary:
    The author of dmalloc, a tool I covered in detail in the September 2002 article, states that his knowledge of C++ is limited, and thus the C++ detection of memory leaks also is limited. In order to use dmalloc with C++ and threads, it has been necessary to link the application as static, which I believe is a considerable disadvantage. That said, dynamic program analysis was long considered to be a too heavyweight approach to defect detection; its results didn't justify the effort and resources required. However, there are two important trends in the modern software development industry which allow a new look at this problem. On the one hand, as the size and complexity of software steadily increase, any automatic defect detection tool can prove to be helpful. On the other hand, the steady increase in the performance of modern computer systems makes it possible to solve more and more complicated computational problems efficiently. The recent surveys in the field of dynamic analysis, such as SAGE, EXE and Flayer show that, despite the complexity inherent in the dynamic analysis approach, it can be successfully applied for at least a certain kind of programs. In addition to these research projects, we should note Dmalloc is one of the most successful open source projects in this field. Its popularity on Linux platform proves that the use of dynamic analysis is justified in the case if it is able to reliably detect actual bugs and can work completely automatically, that is, without any interference of programmer or tester.

    Report post

    Was this review helpful? (0) (0)

    add a comment


Write a Review


Must be registered to add and review tools.

Have an account?
  
  
Forgot Password?

New to DevMetric?


Write Reviews

Share your opinion about the tools you use.

Join the Evans Data Developer Panel!

As a DevNet panelist you will:

1. Have your voice heard on hot topics, innovative technologies and key initiatives.
2. Receive points for every validated survey submission.
3. Redeem award points for cash.

SOLVE THIS CODE

What does this code do?

public class Demo { 
    public void method1() { 
        synchronized (String.class) { 
            System.out.println("on String.class object");       
            synchronized (Integer.class) { 
                System.out.println("on Integer.class object"); 
            } 
        } 
    }

Programming Language: Java

Newsletter

Get weekly reviews sent directly to your inbox!