LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CDB size

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 Smiley Surprised

 

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.

0 Kudos
Message 1 of 2
(3,029 Views)

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.

National Instruments
0 Kudos
Message 2 of 2
(3,004 Views)