I've been having a frustrating issue with my PC where it randomly shuts down without any warning or error messages while I'm playing games. The shutdown is so abrupt that it doesn't even leave any error logs. I ran OCCT to test my hardware, which worked fine until the RAM test—my PC crashed in less than a minute. I also tried Memtest and found that it crashes during Test 4 when both RAM sticks are installed. However, each stick works perfectly on its own in either slot. Both RAM sticks are identical and came packaged together. This seems similar to a problem I had 6 years ago that I fixed through some BIOS setting, but I can't remember what I did. My specs include a Ryzen 7 5800XT CPU, RX 6800 XT GPU, and 32 GB Evo Potenza RAM installed in an MSI MAG A750BN with a 750w PSU. Some of the games that caused my PC to crash include Marvel Rivals, Deadlock, Stellar Blade, Yakuza 7, and Resident Evil Requiem.
5 Answers
Have you tried using RAM slots 1 and 3 instead of 2 and 4? It’s possible the slots are causing the conflict. Also, just to clarify, did you test each RAM stick individually and confirm they work fine? If so, it definitely sounds like an issue when both sticks are used together.
What is the warranty on your RAM sticks? If they’re still covered, you might want to consider reaching out for a replacement since they may be faulty together.
Make sure all your drivers are up to date, especially your GPU drivers and the operating system. Crashes in-game could often relate to driver issues, so it’s definitely worth checking those updates. Also, monitor temperatures to see if overheating could be a factor.
This may seem a bit out there, but you should check your power supply. I had a similar problem where my system would just turn off during certain games because my old PSU was failing. It couldn’t provide enough power during high-demand situations. Even though you’re running into issues with RAM tests, it’s worth considering that the RAM test might be pulling more power, causing the shutdown.
There are several factors to consider here. To rule out software issues, boot into Safe Mode with Internet and see if it crashes. Testing each RAM stick individually is crucial, as one may be defective. Check your BIOS settings as well; make sure XMP or DOCP is enabled. Sometimes disabling these settings can help during testing. If you encounter a blue screen, using a tool like BlueScreenView can help identify the error code for troubleshooting.

I only have two RAM slots, and I tested both sticks in each slot one at a time. Everything runs fine when only one stick is installed, but crashes when both are in.