Visual C++ - Memory Leak Detection

前端 未结 10 1258
栀梦
栀梦 2020-12-08 17:36

Any suggestions? This SO post talks about Visual Leak Detector, but I\'m looking for other tools. Also, please don\'t recommend this.

相关标签:
10条回答
  • 2020-12-08 17:41

    Try Deleaker or DevPartner, these both are good enough.

    update:

    C++ Memory Validator, works fine and fairly priced.

    0 讨论(0)
  • 2020-12-08 17:44

    Jacob, the BoundsChecker tool inside DevPartner Studio contains two types of leak detectors for VC++. The uninstrumented version will tabulate leaks at process shutdown. The compile time instrumented detector will break on leaks at the time the leak occurrs showing both the current call stack at the point of leakage, and the allocation stack trace showing where the leaking memory was allocated. The 64-bit version of DPS and BoundsChecker 10.5 ships February 4, 2011 with x64 application support for Visual Studio 2010, 2008, and 2005. We also have a new pricing model so you can license just the BoundsChecker features and ugrade to the full DPS suite only if you find you need the other profilers or static analysis capabilities later on. Be sure to haggle with your sales rep too. Paying list price is like paying sticker price on a new car. Shameless plug: I work on the DevPartner team. DPS 10.5 represents my team's biggest release of tech capability since Compuware closed the NuMega lab. Please evaluate it for your own application and tech stack when 10.5 goes live. Cheers. Matt Schuetze, DevPartner Product Owner (and yes that means PO in normal Scrum team roles.)

    0 讨论(0)
  • 2020-12-08 17:47

    As suggested by Noah Roberts, i too felt Memory validator as the best tool for detecting leaks in Visual studio.

    Purify also works.

    0 讨论(0)
  • 2020-12-08 17:50

    VLD cannot be trusted for more serious projects.

    Intel has a good tool called Inspector.

    After 3 days searching for a good tool to find leaks on x64 binaries with C++ in Visual Studio, this is the only good option I found.

    0 讨论(0)
  • 2020-12-08 17:52

    Try Dr.Memory. They have proper visual studio integration and documentation is excellent. Easy to use too.

    0 讨论(0)
  • 2020-12-08 17:57

    If you can afford some money use the Intel Parallel Inspector (http://software.intel.com/en-us/intel-parallel-inspector).

    It doesn't require any code modifications and provides good reports.

    I had to look for good tools to do that in work and that's the best tool (by far) that I found.

    0 讨论(0)
提交回复
热议问题