Pages

Friday, November 18, 2011

Improving Visual Studio 2010 performance for C++ development

Hi! If you develop in this IDE, you might have already noticed that it’s kind of too clunky and buggy. Personally I’m a bit disappointed in it, but still have to continue development using it, and here are some hints I found useful to make it work better (note, it relates to C++ development only):

  1. Ones it starts slowing down or you noticed incorrect editor behavior, close all opened in IDE documents, and try to have only 2-3 simultaneously opened documents at most.
  2. If you noticed that VS consumed too much memory and the consumption is keeping growing, you can force garbage collection by pressing twice Ctrl+Shift+Alt+F12.
  3. Under Tools->Options->Text Editor->C/C++->Advanced set the following options (those that are not worth performance):
    1. Disable Database Auto Updates = True
    2. Disable Error Reporting = True
    3. Disable Auto Updating = True
    4. Recreate Database = True
  4. If nothing helps, close the project and remove all temporary project files.
  5. Think about upgrading HDD and adding some RAM – HDD is really a performance killer for VS, and the lack of RAM forces OS to use swapping more intensively, so this is quite a bottleneck.

And after that, do not forget to stimulate Microsoft for writing more qualified software by leaving your feedback here http://social.msdn.microsoft.com/Forums/en-US/vseditor/thread/a6d500a2-d4ea-43e2-8460-9283ea5c1d89/.

Know more hints? Post here.

Cheers!

No comments:

Post a Comment