cl.exe is a heavy load on the RAM - visual-studio

I'm working in Visual Studio 2022 in C++, but lately cl.exe started to load my RAM very heavily, with 8 gb of my RAM cl.exe eats up 5 gb, not even during compilation but just when the studio is open.
After that, the computer hangs completely, the mouse does not move, the keyboard does not react in any way, the time on the taskbar does not go. After installing a paging file on the drive where Visual Studio is installed, the computer practically stopped freezing, but still the mouse moves jerkily, and everything is very laggy

Related

Visual Studio 2019 Extensions loading infinitely

I have ran in this issue, and it is weird. I have installed Visual Studio some time ago, and haven't launched it in like 2 months. Now when I create project it is really laggy, and cpu or ssd is not running at 100%.
Instead, it tries to load extensions, but it seems that it is failing. I have tried to repair it through Visual Studio Installer, and running VS as an admin, but that gave no result. The extension it tries to load is kind of random and can vary between the launches.
Problem screenshot - https://prnt.sc/war0b8

Visual Studio for Mac: Freezes macbook pro

I'm trying to use Visual Studios for Mac (Preview 9) to code apps in Xamarin but occasionally, not only does Xamarin freezes but it freezes all my other programs that I'm using on my Macbook Pro retina 15 inch mid 2015 model. The only solution to get my MacBook Pro to respond to me again is to hold down the power button till it shuts down and then restart my entire machine.
I see that the Macbook Pro model that I'm using only contains 16GB of RAM. I normally open up an instance of Chrome to watch my Udemy video and have an instance of Visual Studios opened to code as I watch along. I also have an instance of the iPhone simulator opened as well.
When my Macbook Pro freezes, I can open Activity Monitor to check out the memory usage for Visual Studios for Mac and at that point, the RAM used by Visual Studios is approximately 9-10GB, sometimes even higher.
Why does Visual Studios consume so much memory? I have a feeling that because it is hogging all the resources, it is causing my MacBook Pro to freeze / be unresponsive.

How to speed up VS.NET 2015 solution loading and pasting into ASPX source view?

I just installed Microsoft Visual Studio Community 2015 Version 14.0.23107.0 D14REL hoping for a performance improvement over 2013. When I load a very large ASP.NET web forms solution, I have to wait over 30 seconds. After it is loaded, when I try to paste text into the source view of an ASPX page, I am intermittantly enduring a 15+ second wait. A popup tells me that VS.NET is busy performing background tasks.
I'm running Windows 7 Pro SP1 x64 on a recently purchased Dell Precision workstation with 16GB RAM and an Intel Xeon E3-1240 v3 # 3.40GHz. My C: drive is on a SamSung SSD. Here is what I would like to know:
What can I do to make VS.NET 2015 perform faster?
I found that VS.NET was I/O bound because when I disabled Microsoft Security Essentials entirely the performance was acceptable. There is an option in MS Security to exclude certain processes from security scans. After I added ~/Program Files(x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe to MS Security Essentials' list of excluded processes, it ran acceptably fast.
If you are using ReSharper then turning it off makes performance considerably faster. Similarly Node.js Tools for Visual Studio can slow down your IDE.

Visual Studio 2010 unresponsive on startup

When I launch Visual Studio 2010, the inner work area screen always goes black or white and the title bar says VS is not responding. It does this for about 20 seconds before returning to normal operation.
Does anyone else experience this, and how can it be fixed?
Windows Vista32 with 2GB RAM, ATI Radeon 4850
Doesn't sound like you have enough RAM to handle visual studio during start up. I experienced this on my previous machine (vista32 2GB RAM) before buying a new Windows 7 64 bit 8 GB RAM and now everything works fine.
I had the same issue and found this incredibly useful. PowerCommands for Visual Studio 2010 Simply install it and go to the File Menu / Recent projects and Recent Files and clear the list. That will speed up visual studio signficantly.

Visual Studio IDE freezing while initializing ToolBox

I'm working on Visual Studio 2008, Smart Client + infragistics controls are installed and we have more than 50 User Controls. When opening the Visual Studio "Tool Box", Visual Studio is completely freezing. I couldn't work after that. I have to kill the process and open again. At this point CPU usage is around 50, CPU usage is 1 or 2 when i work on code. How to get rid out of this issue. This is really time consuming process.
try:
Visual Studio 2008 takes a long time to open the toolbox for a solution that contains many custom controls
The KB article recommends downloading and installing a hotfix.

Resources