• Advertisement
Sign in to follow this  

BoundChecker 7.2 Whoes

This topic is 4613 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Greetings! I tried the Bound Checker 7.2 Memory Leak detection tool for Visual Studio yesterday, and I was very disappointed. An empty program a la "WINMAIN return 0;" produces from 128 bytes till 2K of memory leaks. How comes?! I am using Visual Studio .NET 2003. The same was under the intel compiler. In debug mode my EMPTY program leaks for 128 bytes and in Release additional 2048 bytes are leaking. The _CrtDumpMemoryLeaks() command shows nothing. If I allocate 4 kilos and leave them undestroyed, the statistics increase for additional 4 Kilos (128bytes + 4K) which should be OK, but why that 128 bytes and why that additional 2K in release?! Thank you in advance!

Share this post


Link to post
Share on other sites
Advertisement
What project did you exactly choose?
I just tested, created an empty win32 project and just added this:


#include <windows.h>


int PASCAL WinMain( HINSTANCE, HINSTANCE, LPSTR, int )
{

return 0;

}

Shows me no memory leaks at all.


Beware though: BoundsChecker likes to list static variables as leaks sometimes; and i have to agree with them: If BoundsChecker is not sure about the nature of a memory block being a leak or not, i'd rather have them listed.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement