Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 Slow to Load

I have been happily using VS 2010 for several weeks without any performance problems.

I installed dotCover from JetBrains several days ago and things continued to run well, but ran my first code coverage test earlier today. I double clicked on one of the report results and it successfully took me to the referenced line of code.

I inadvertantly right clicked on the line of code, brining up the context menu and the navigate menu item was hightlighted.

Moments later, Visual Studio froze and subsequently crashed.

I closed and reopened and Visual Studio wouldn't open cleanly. I uninstalled dotCover and was able to get Visual Studio to open, but it took several minutes just to get to the project open screen.

I also am showing that devenv.exe quickly runs up to 1,500,000 K and doesn't ever recover. I'm not sure what it was running at when I wasn't having problems, but I can't believe it was this high.

I am now doubtful that the problem was with dotCover, but maybe some intellisense cache or something. Who knows?

I do seem to get some relief when I set an Above Normal priority on the devenv.exe process, but the machine doesn't appear to be cpu bound.

Has anyone seen similar problems or have any suggestions?

like image 878
Hal Avatar asked Sep 27 '10 20:09

Hal


2 Answers

Hmya, the add-in market for Visual Studio is a whole new ball game in the DLL Hell stadium. VS2010 consuming 1 1/2 gigabytes of memory is completely absurd of course. Plain vanilla it is an incredibly low ~300 MB or so.

Download SysInternals' ProcMon utility and find out what file that blasted add-in is reading to get it out of control this badly. The tool will generates a lot of trace data, you should however have no trouble finding out what file is responsible given how long it takes. Delete it. You probably ought to consider uninstalling it next, this is just sloppy.

like image 133
Hans Passant Avatar answered Oct 06 '22 08:10

Hans Passant


Thank you for the feedback information. please accept out apologies for the bad experience you have had with our tools. Please try installing latest release build of R# 5.1.1 from http://www.jetbrains.com/resharper/download/index.html Please let me know if this helps. We have fixed some critical performance issues in the latest release. Also, please try to notice if performance lag will start after dotCover installation. I have also posted this on StackOverFlow.

like image 39
KFalk Avatar answered Oct 06 '22 07:10

KFalk