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

Option 1: Windows Memory Diagnostic (built in)

  1. Press Win + R, type mdsched and press Enter.
  2. Choose Restart now and check for problems.
  3. 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.
  4. 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

  1. Leave only one module installed and test again.
  2. Repeat with each module in the same slot.
  3. 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

Look up a stop code