Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 -- how to reduce its memory footprint

I have a solution with just under 100 projects in it, a mix of C++ and C# (mostly C#). When working in VS2005, the working set of Visual Studio is considerably smaller than that of VS2010.

I was wondering if there are some things that can be turned off, so I can develop in VS2010 under 32-bit OS without running out of memory.

like image 994
GregC Avatar asked Jun 16 '10 15:06

GregC


People also ask

Does Visual Studio use a lot of memory?

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 I find memory leaks in Visual Studio?

The primary tools for detecting memory leaks are the C/C++ debugger and the C Run-time Library (CRT) debug heap functions. The #define statement maps a base version of the CRT heap functions to the corresponding debug version.

Why is Visual Studio laggy?

You might have extensions installed that slow Visual Studio down. For help on managing extensions to improve performance, see Change extension settings to improve performance. Similarly, you might have tool windows that slow Visual Studio down.

How do I reduce VSCode memory usage?

So you can just disable that just for that workspace. But don't forget to save the vs-code workspace. Another less recommended trick I apply for my VSCode workspace is to disable all the unnecessary builtin language basics or features extensions.


1 Answers

You can try using the Solution Load Manager. It'll let you mark some of the projects files as load on demand or not load at all. That may help.

like image 125
Noah Richards Avatar answered Oct 18 '22 17:10

Noah Richards