Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2005 Memory Usage

Tags:

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)

like image 640
Ris Adams Avatar asked Oct 03 '08 19:10

Ris Adams


People also ask

Does Visual Studio use a lot of memory?

Developer Community. I have recently downloaded Visual Studio 2022 and have found it using a high amount of CPU and memory. This causes Visual Studio (as well as my computer) to slow down at times. The CPU usage fluctuates between 20% - 99% and the Memory usage fluctuates between 2GB - 14GB of memory.

How do you analyze memory in Visual Studio?

To bring up the window again, click Debug > Windows > Show Diagnostic Tools. Choose Memory Usage with the Select Tools setting on the toolbar. Click Debug / Start Debugging (or Start on the toolbar, or F5). When the app finishes loading, the Summary view of the Diagnostics Tools appears.


1 Answers

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.
like image 74
Scott Dorman Avatar answered Dec 29 '22 16:12

Scott Dorman