Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to speed up Visual Studio 2008? Add more resources?

I'm using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition

It takes me a long time (2 minutes) to run the debugger, compiler, and if I save a file in my app_code folder it locks up for 2 minutes.

I have 12 Gb of ram and as you can see I have plenty more. This screen shot was taken when VS was frozen/locked up.

Can I allocate more ram to VS? Or is there any other tweaks I can do?

slow

like image 227
aron Avatar asked Nov 13 '09 14:11

aron


2 Answers

Looks like either a slow hard disk or a slow network to me. Any of the relevant files stored on the network?

like image 55
MartW Avatar answered Nov 09 '22 23:11

MartW


Try removing ReSharper and see what happens. Is there an active virusscanner? What happens when you disable it for a moment?

Oh, and can you move your classes from app_code to an external library? I am not sure, but I think a change in app_code can result into a complete recompile.

like image 25
Michel van Engelen Avatar answered Nov 09 '22 23:11

Michel van Engelen