Visual Studio Using Too Much Memory
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)
- 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.
- 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.
Leave a Reply