Memory leaks detection in C++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AndreaMelet
    New Member
    • Feb 2010
    • 1

    Memory leaks detection in C++

    Hi.

    I've tried using several tools to detect memory leaks (and also bottlenecks) in the C++ code I'm working on (platform: Windows). But our software is so large that none of them have been useful at all (GlowCode, IBM Purify and BoundsChecker).

    Do you know any other tool running on Windows that may help us?

    Another possible solution for us would be using one of these tools running on a 64-bit system. Anyone knows if there's some leak detection tool running on 64 bits?

    Thanks a lot :)
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    You might consider having not memory management at all. Richter in Windows vis C/C++ suggests a private process heap rather than using the CRT heap. That way all you need do is delete your private heap when the process completes. And there go your leaks. You can have many heaps in the same process.

    BTW I am surprised BoundsChecker isn't working.

    Comment

    Working...