Last updated: December 6, 2026
How to test your RAM for errors
Faulty memory causes some of the most confusing blue screens: different stop codes, different drivers blamed, crashes at random times. Codes such as MEMORY_MANAGEMENT, PFN_LIST_CORRUPT and FAULTY_HARDWARE_CORRUPTED_PAGE point to RAM directly. Testing it takes some time but very little effort.
Before you test
- Undo memory overclocking. If XMP or EXPO is enabled in the BIOS, note your settings, then turn it off. Many “bad RAM” cases are really unstable overclock profiles.
- Reseat the modules (desktops). Power off, unplug, press the power button to discharge, then remove each stick and press it firmly back in until the clips click.
- Save your work. Testing requires restarts.
Option 1: Windows Memory Diagnostic (built in)
- Press Win + R, type
mdschedand press Enter. - Choose Restart now and check for problems.
- The PC restarts into a blue test screen. The standard test takes a while; press F1 during the test to choose the Extended test, which is more thorough but takes much longer.
- When it finishes, Windows starts normally and may show the result in a notification.
If you missed the notification, open Event Viewer → Windows Logs → System, choose Find, and search for MemoryDiagnostics-Results. The event says whether any errors were found.
Option 2: A bootable memory test
Dedicated tools that boot from a USB stick, such as MemTest86 or the open-source Memtest86+, test memory outside Windows and generally catch more subtle faults. You create the USB stick with the tool's instructions, boot from it (often by pressing F12, F11 or Esc at startup to open the boot menu) and let it run at least one complete pass, ideally several. Download these tools only from their official sites.
Any error at all is a problem. Healthy RAM should produce zero errors, no matter how long the test runs.
Found errors? Find the bad stick
- Leave only one module installed and test again.
- Repeat with each module in the same slot.
- If every module fails in one slot but passes in another, the slot or motherboard may be the problem instead.
Many laptops have memory soldered to the motherboard. If a test finds errors on such a laptop, it needs warranty service or a repair shop.
No errors, but crashes continue?
A clean test doesn't completely rule out memory, especially if faults only show up when the PC is warm or under heavy load. But it does make other causes more likely. Move on to drivers, storage and temperatures, using the dump file to see which driver is involved.
When you put XMP/EXPO back on
If the system is stable without memory overclocking and crashes again once you re-enable it, the profile isn't stable on your particular combination of CPU, motherboard and RAM. Update the BIOS (memory compatibility often improves), try a slightly lower speed, or simply run the memory at its default speed. The performance difference is small for most everyday use.
Summary
- Turn off memory overclocking and reseat modules first.
- Run Windows Memory Diagnostic, or a bootable test for more thorough results.
- Any error means a fault: test one stick at a time to find it.
- Replace faulty RAM; soldered RAM needs professional repair.