Advertisement

Wierd Debug / Release Problem

Started by July 21, 2004 04:05 AM
2 comments, last by Wintermute2004 20 years, 4 months ago
Hi folks, I just ran into a VERY annoying thing. My Application allocates about 32 MB in Debug Mode. But in Release mode it uses 60 MB ! Has anyone encountered this befor ? I don't understand this. Ive alredy disabled /enabled all optimisation but nothing changes. Does this sound familiar to one of you ? Thx in advance, Wintermute
Sounds wierd. It's usualy the other way around :). Anyways, did you check for memory leaks or other unintentional/unneeded memory allocations.
You should never let your fears become the boundaries of your dreams.
Advertisement
I already eliminated all major Memory Leaks, using BoundsChecker. For unintentional/unneeded memory allocations, I can't be sure, there may be errors, but why shouldn't they show up in Debug Mode. I hoped someone had this problem already. Im using heavy RTTI and dynamic_cast etc. Could this be a problem ? There are also up to 15 dlls incorporated, is there a know bug in the ProcessViewer of Windows ? For instance that it show different in Debug/release if the memory gets allocated in different DLLs ?

Thx,
Wintermute
Damn, forget it. Never write your ->Release() into Macros, that get excluded in Release Builds :)


Wintermute

This topic is closed to new replies.

Advertisement