excessive memory usage visual studio Archives - Anuj Varma, Hands-On Technology Architect, Clean Air Activist https://www.anujvarma.com/tag/excessive-memory-usage-visual-studio/ Production Grade Technical Solutions | Data Encryption and Public Cloud Expert Tue, 14 Jan 2014 09:47:17 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.2 https://www.anujvarma.com/wp-content/uploads/anujtech.png excessive memory usage visual studio Archives - Anuj Varma, Hands-On Technology Architect, Clean Air Activist https://www.anujvarma.com/tag/excessive-memory-usage-visual-studio/ 32 32 Visual Studio Using Too Much Memory https://www.anujvarma.com/visual-studio-using-too-much-memory/ https://www.anujvarma.com/visual-studio-using-too-much-memory/#respond Thu, 12 Dec 2013 20:22:48 +0000 http://www.anujvarma.com/?p=2156 When running by itself (no project opened and no extensions), Visual Studio 2012 takes less than 100 MB. When you open up your projects, those add to the total memory […]

The post Visual Studio Using Too Much Memory appeared first on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.

]]>
When running by itself (no project opened and no extensions), Visual Studio 2012 takes less than 100 MB. When you open up your projects, those add to the total memory of course. However, if you find Visual Studio (2012) using excessive memory (a co-worker noticed 700MB , when the size of our solution was less than 100MB), there’s a couple of places to look. First, Extensions and Updates (under Tools).

Extensions (under the Tools menu)

  1. Memory leaks in extensions – Some extensions are just poorly behaved and known to have memory leaks. This may explain why when you perform certain tasks from  VS , you see your memory usage spike. .NET Reflector from jetbrains was causing one such issue. 
  2. Too many unused extensions – Disable (or uninstall) any extensions that you are not using.

Add-Ins (also under the Tools menu)

The same considerations apply to add-ins which get loaded on VS startup. Go through and remove the add-ins that are not being used.

Once we figured these out, the memory usage went down from 700 MB to 200 MB.

The post Visual Studio Using Too Much Memory appeared first on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.

]]>
https://www.anujvarma.com/visual-studio-using-too-much-memory/feed/ 0