09-23-2011 03:12 PM
Is it just me, or does the .cdb file size seem to be bloated?
I have a DLL that's about 150KB in size, that builds to a debuggable .dll that's about 1 MB in size.
Amazingly, the .cdb file is 13 MB ![]()
I knew the distribution kits were bloating out in size, but hadn't really noticed what was happening with the .cdb files.
At least I don't have to distribute the .cdb but I do keep it under configuration control and it takes a while to horse these big cdb files in and out of control. Probably shouldn't bother keeping track of these anyway.
09-26-2011 05:40 PM
Menchar,
It is common for the cdb to be much larger than the DLL. They are usually around 10x as large, but vary drastically depending on what your DLL looks like. For instance, if you have a lot of functions, then you can actually reduce the size quite a bit by disabling source code browse information. Let's go ahead and try that. Go to Build Options and disable Generate Source Code Browse Information. See how much that reduces your cdb file size by.