'Visual Studio 2022 keeps crashing and locking the system

I got a new laptop for Christmas, upto date with Windows 10.

Installed Visual Studio 2022 and so far it's been crashing every day several times a day. It could be either on the coding screen, the design view, or simply in a menu.

It just freezes the whole screen and the mouse stops and no keyboard responses work. I have to turn off the laptop via the power button.

It's happened about 15-20 times in the last few days. Any ideas?

It's Windows 10 Home, and 4GB RAM. No other programs crash it's only Visual Studio.

Thanks in advance Mark.



Solution 1:[1]

i just using repair system visual studio installer, maybe too much extension installed impacted to you system performance, i do had 16gb , but after repair the vs22 never crash or freeze again

Solution 2:[2]

What controls do you have on your form? If you have a WebView2 control, it may cause issues. Maybe not smart to play around, because I still see events firing message boxes even after I exited VS! It's like something isn't getting flushed from RAM. Just run my program, step thru, and crash! No errors, acts like all is fine. I think this is another Microsoft rush to market.

Solution 3:[3]

I went back to VS 2019. No issues now.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tama
Solution 2 Charlie Chaplin
Solution 3 Paul Parker