Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / November 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam Waller - 15 Nov 2007 15:09 GMT
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
Carl Daniel [VC++ MVP] - 15 Nov 2007 15:32 GMT
> I'm running Visual Studio 2005 Professionl Edition and Visual C++
> 2005. A few days ago it started acting differently. When I open a
[quoted text clipped - 5 lines]
>
> 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-visu
al-c.aspx


-cd
Sam Waller - 15 Nov 2007 16:09 GMT
>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
[quoted text clipped - 3 lines]
>
>http://blogs.msdn.com/vcblog/archive/2007/11/12/performance-improvements-in-visu
al-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
Ben Voigt [C++ MVP] - 15 Nov 2007 21:54 GMT
>>Intellisense is a good bet.  Quick test - try deleting the .ncb file for
>>the
[quoted text clipped - 21 lines]
> Jens, I have the same problem with Professional...
> </quote>

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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.