Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8222993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:30:45+00:00 2026-06-07T14:30:45+00:00

We have a large project, >1M lines of code in about 300 DLLs. So

  • 0

We have a large project, >1M lines of code in about 300 DLLs.
So far we’ve been using VS6.

I’ve now converted everything to VS2008, all compiles, links and more importantly – runs!

==>However… the resulting compiled OBJ files are X 10 bigger and linking is extremely slow, with the linker hitting >1GB of memory quite often.

Part of the implications are that I need to compile certain prjects with /bigobj.

Result is a build that went from about 1:45 on a desktop to 3h.
The DLLs and the LIBs are roughly the same size as in the old VS6 build.

I’ve read all I could find here but didn’t find a remedy to this problem.
If it is additional DEBUG info – I don’t want it. I had enough before.
The size in release increased, but not so much…

Anyone has any idea? Or is my only option to break down the projects into much smaller units? Is refactoring my only hope?! Surely there’s a secret flag I missed…


Edit1 (13/07/2012 12:20BST)
I’ve compared dumpbin of an Obj created by VS6 vs. VS2008. The one in 2008 appears as if “staticly linking”. In VS6 it contains a few symbols all from the current DLL. In VS2008 it contains symbols from (probably) all libraries it is dependent upon. Dumpbin sizes are 66kb and 32,000kb for VS6 and VS2008, respectively.


  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T14:30:49+00:00Added an answer on June 7, 2026 at 2:30 pm

    Check your debugging options. /Z7 causes large .OBJ files, /Zi puts the same information in a separate .PDB file.

    Compiler option /Oi may help by inlining intrinsic function, which then no longer need to be linked. You probably don’t want to debug memset anyway.

    Turn off /Gm (incremental rebuild) so you can turn on /MP (parallel build). Also turn off /Gy – while it makes for smaller EXE’s, it causes bigger OBJ files and slower linking.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large project where we have 2-3 dll projects that are converted
I have a large project that executes without problem when not debugging (even when
I have a large project but I need only some folders in my svn
I have a large project in Vb.net which drives a web browser control around.
I have a large project that runs on an application server. It does pipelined
I have rather large project that uses ICU regex classes. Basically it might run
I have a large project in C++ Builder that seems to have used the
We have a large project mainly written in C# (services, multithreading etc.). However, the
I have a large XAML project which will have a main TabControl and each
I have a large c# project at work that controls a radar jammer. When

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.