VS 2005 uses almost 100% CPU for 5 minutes on startup

S

Sam Waller

I'm running Visual Studio 2005 Professionl Edition and Visual C++ 2005. A few days ago it started
acting differently. When I open a project now it takes over 5 minutes for it to become usable and
uses most of the CPU during this time. I'm running this in Vista on a core 2 duo machine. The actual
project files are on a linux file server and I access them with samba. Can someone tell me why this
is happening or how to disable intellisense in case that is the problem?

It also takes a very long time when I close a project.

thanks,
Sam
 
C

Carl Daniel [VC++ MVP]

Sam said:
I'm running Visual Studio 2005 Professionl Edition and Visual C++
2005. A few days ago it started acting differently. When I open a
project now it takes over 5 minutes for it to become usable and uses
most of the CPU during this time. I'm running this in Vista on a core
2 duo machine. The actual project files are on a linux file server
and I access them with samba. Can someone tell me why this is
happening or how to disable intellisense in case that is the problem?

It also takes a very long time when I close a project.

Intellisense is a good bet. Quick test - try deleting the .ncb file for the
project. If that changes the behavior (for better or worse), then it's
Intellisense.

If that's the case, you should read this blog entry:

http://blogs.msdn.com/vcblog/archive/2007/11/12/performance-improvements-in-visual-c.aspx

-cd
 
S

Sam Waller

Intellisense is a good bet. Quick test - try deleting the .ncb file for the
project. If that changes the behavior (for better or worse), then it's
Intellisense.

If that's the case, you should read this blog entry:

http://blogs.msdn.com/vcblog/archive/2007/11/12/performance-improvements-in-visual-c.aspx
I had tried deleting the .ncb files but didn't notice any difference.

Also while trying to work I keep seeing the caption saying "Microsoft Visual Studio (Not
Responding)".

I read the blog. The last two posts today say:

<quote>
Anyone here who tried the patch with VS2005 Professional? It seems that the .msp file of the patch
does not contain the product code of VS2005 Prof. and therefore the patch refuses to install.

Jens, I have the same problem with Professional...
</quote>

This is what I'm running also and it looks like it won't work. So Microsoft can't fix this? I can't
write code for their operating system if they won't. This is dumb.

the blog also says:

<quote>
To give you a feel for the scope of the changes we made to address these issues in VS2005 and
VS2008, this work touched 46 source files across three DLL’s. Overall, 4664 lines of code were
changed or added. I would like to take this opportunity to give you a bit of insight into the
nature of problems we identified and the solutions we implemented.
</quote>

The project I'm working on has 4 dlls and hundreds of source files and probably over 100,000 lines
of code. I'm amazed that Microsoft would release such crap and that they can't fix this.

Sam
 
B

Ben Voigt [C++ MVP]

Sam Waller said:
I had tried deleting the .ncb files but didn't notice any difference.

Also while trying to work I keep seeing the caption saying "Microsoft
Visual Studio (Not
Responding)".

I read the blog. The last two posts today say:

<quote>
Anyone here who tried the patch with VS2005 Professional? It seems that
the .msp file of the patch
does not contain the product code of VS2005 Prof. and therefore the patch
refuses to install.

Jens, I have the same problem with Professional...
</quote>

I installed it on VS2005 Professional SP1, no Vista patch (this computer is
running XP).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top