Visual Studio 2005 Memory Usage

16,743

Solution 1

From this blog post:

[...]
These changes are all available from the Options dialog (Tools –> Options):

Environment

  • General:
    • Disable “Animate environment tools”
  • Documents:
    • Disable “Detect when file is changed outside the environment”
  • Keyboard:
    • Remove the F1 key from the Help.F1Help command
  • Help\Online:
    • Set “When loading Help content” to “Try local first, then online” or “Try local only, not online”
  • Startup:
    • Change the “At startup” option to “Show empty environment”

Projects and Solutions

  • General:
    • Disable “Track Active Item in Solution Explorer”

Text Editor

  • General (for each language you want):
    • Disable “Navigation bar” (this is the toolbar that shows the objects and procedures drop down lists allowing you to choose a particular object in your code.
    • Disable “Track changes”

Windows Forms Designer

  • General:
    • Set “AutotoolboxPopulate” to false.
    • Set “EnableRefactoringOnRename” to false.

Solution 2

Upgrade to a 64-bit OS. My instances of VS were taking ~700MB each (very large solutions).. and you rapidly run out of room with that.

Everyone on my team that has switched to 64-bit (and 8GB RAM) has wondered why they didn't do it sooner.

Share:
16,743
Ris Adams
Author by

Ris Adams

I have been developing software since 1996, and have been developing for the web professionally since 2004. I have been building expertise in web tech, data modeling, and advanced research into human-computer interaction. Recently, I have also begun to coach and mentor beginning and mid-career developers. I solve problems. I am a highly experienced, driven, and passionate developer with skills in software engineering, agile project/product management, and team management. I believe in life-long learning, the value of embracing challenges, and taking ownership. I have a special interest in Agile practices, DevOps, and continuous improvement.

Updated on June 04, 2022

Comments

  • Ris Adams
    Ris Adams almost 2 years

    I find that quite often Visual Studio memory usage will average ~150-300 MB of RAM.

    As a developer who very often needs to run with multiple instances of Visual Studio open, are there any performance tricks to optimize the amount of memory that VS uses?

    I am running VS 2005 with one add-in (TFS)