CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2004
    Location
    Texas, USA
    Posts
    1,206

    C++ Memory Leak Detector?

    Hi everyone,

    I'm looking for a decent FREE solution to checking for memory leaks in my C++ application. I know about Boundschecker, PurifyPlus, and GlowCode, however all of these cost money and are not an option for me.

    I would prefer a non-intrusive solution. That is, I would like to avoid changing code to add support for memory leak checking. However, if that is the only free solution then I will do it.

    If I must go with the intrusive approach, I have a few requirements:
    * The memory leak checker must support 64-bit applications
    * It must support unicode.
    * It must be as transparent as possible (i.e. the less work to set it up, the better).

    I prefer it to be simple, and recent. But these are not hard requirements. I know of Visual Leak Detector, however this project is several years old and out of date. I'm also sure it does not support 64-bit.

    Anyone have any suggestions? You know, I'm quite surprised that for such a demanding/common problem (checking for memory leaks), there aren't more options available.

    Thanks in advance.
    --MrDoomMaster
    --C++ Game Programmer


    Don't forget to rate me if I was helpful!

  2. #2
    Join Date
    Feb 2002
    Posts
    4,640

    Re: C++ Memory Leak Detector?

    Well, there is Valgrind for Linux. However, it sounds like you're on a Windows only platform.

    Viggy

  3. #3
    Join Date
    Feb 2004
    Location
    Texas, USA
    Posts
    1,206

    Re: C++ Memory Leak Detector?

    Quote Originally Posted by MrViggy View Post
    Well, there is Valgrind for Linux. However, it sounds like you're on a Windows only platform.

    Viggy
    That's right. I'm on Windows. Sorry for not mentioning this.
    --MrDoomMaster
    --C++ Game Programmer


    Don't forget to rate me if I was helpful!

  4. #4
    Join Date
    May 2009
    Posts
    16

    Re: C++ Memory Leak Detector?

    Recently I've got such in a case problem. Friend advised me deleaker. Works perfectly. Try it too.
    http://deleaker.com

  5. #5
    Join Date
    Feb 2004
    Location
    Texas, USA
    Posts
    1,206

    Re: C++ Memory Leak Detector?

    Quote Originally Posted by GGJohn View Post
    Recently I've got such in a case problem. Friend advised me deleaker. Works perfectly. Try it too.
    http://deleaker.com
    Except this isn't free...
    --MrDoomMaster
    --C++ Game Programmer


    Don't forget to rate me if I was helpful!

  6. #6
    Join Date
    May 2009
    Posts
    16

    Re: C++ Memory Leak Detector?

    Maybe not free, but in 1000 times better than free. It has a heap of useful functions.

  7. #7
    Join Date
    Oct 2008
    Location
    Cologne, Germany
    Posts
    756

    Re: C++ Memory Leak Detector?

    win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming

    remeber to give feedback you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation

    private lessons are not an option so please don't ask for help in private, I won't replay

    if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know

  8. #8
    Join Date
    Nov 2011
    Posts
    9

    Re: C++ Memory Leak Detector?

    As for me, I also advise deleaker. It is best to buy and have no problems. I dont think what you can get quality program by free now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured