Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReSharper slowing down VS 2010

I love the ReSharper features but when I installed it onto my project on my laptop VS2010 is running a lot (read unusable) slower: Stats are

Windows 7
4GB RAM
Intel 2 Core Duo @ 2.00GHz
VS 2010
ReSharper 6.1
32 Bit Architecture

I'm assuming this should be enough to run the program so possible reasons I can think of are

  • other plugins causing conflicts / overloading VS
  • too many ReSharper errors (it's old code so will need cleaning)

Does anyone else have suggestions as to what this could be?

EDIT: the solution is 15 separate projects with 20 - 30 cs files. Some are very large (antlr generated)

EDIT: After turning off the 'solution wide analyse feature' the memory usage is down to 500Mb and it's running fine.

like image 221
probably at the beach Avatar asked Dec 13 '22 03:12

probably at the beach


1 Answers

I sometimes need to open old projects where there are many big files with resharper errors.

My solution is to exclude these files from the resharper analysis ("Edit items to skip" under the Code inspection settings).

I lose some intellisense but VS becomes usable again. If I need to do a lot of work in one of these big files I enable them one by one.

like image 196
adrianm Avatar answered Dec 29 '22 11:12

adrianm