   vc 2003 .net
  when I open a project, and it will cost much time.meanwhile ,I launch another app ,and it will immediately open it.why ?   
Quote:Original post by luasitdownwhen I open a project, and it will cost much time.meanwhile ,I launch another app ,and it will immediately open it.why ?Think about the size of the program and the amount of work it is doing.Notepad.exe is 70KB on my machine.  That's small enough for a single read from my disk.  It runs in a single thread.  Most of the libraries are already loaded so there is almost no work involved for the OS.  It starts almost instantly, pausing a split second to draw the fancy Windows XP title bar.Starting MS Word just took 31 MB of memory and started 7 threads.  It takes a moment, but not too long.MSDEV requires almost 70MB of memory and 15 threads just to start the Visual Studio 8 IDE (on the machine I'm using right now).  Compiling a substantial project can involve another 100+MB memory, especially if features like profile-guided optimizations are enabled.  The debugger hooks quite deeply in to the system, causing further work for the OS.frob.   