Loading
Main Pages
Home About Contact
Diagnostic Guides
HDD Health & Diagnostics RAM Testing Methods CPU Temperature Monitoring POST Error Codes Explained Reading SMART Data
Legal
Privacy Policy

RAM Testing Methods: MemTest86 vs Windows Memory Diagnostic

Unstable memory is behind a surprising number of random crashes, blue screens, and data corruption issues. This guide explains how to test your RAM properly and what the results actually tell you.

Collection of laptop and desktop RAM memory modules

When RAM Testing Is Necessary

Random system crashes without a consistent cause are the most common symptom of faulty RAM. Other indicators include:

  • Blue screens with error codes like MEMORY_MANAGEMENT, IRQL_NOT_LESS_OR_EQUAL, or PAGE_FAULT_IN_NONPAGED_AREA
  • Applications crashing unexpectedly, especially memory-intensive ones
  • File corruption appearing without an obvious cause
  • System instability after installing new RAM modules
  • Beep codes during POST that indicate memory errors

It is worth noting that RAM errors can be intermittent. A module might work fine for hours and then produce errors under specific memory access patterns. This is why thorough testing matters.

Option 1 — Windows Memory Diagnostic

Windows 11 includes a built-in memory tester that is easy to access and requires no additional software. It is a reasonable first step, though it has limitations.

How to Run It

Press Win + R, type mdsched.exe, and press Enter. You will be prompted to restart now or schedule a test for the next restart. Choose the immediate restart option if you can close your work.

During the test, you will see a progress bar and a pass counter. The default test runs two passes using the Standard test suite. For more thorough testing, press F1 during the test to access options and select the Extended test suite.

Interpreting Results

After the test completes and Windows restarts, results appear briefly in the notification area. To view them properly, open Event Viewer (search for it in the Start menu), navigate to Windows Logs > System, and look for events from the source MemoryDiagnostics-Results.

Limitation

Windows Memory Diagnostic runs within a limited address space and cannot test all memory regions. It misses some error types that MemTest86 catches. A clean result here does not fully rule out faulty RAM.

Option 2 — MemTest86

MemTest86 is the gold standard for RAM testing. It boots independently of Windows, which means it can test the entire address space of your memory without operating system interference. It is free and available from memtest86.com.

Creating a Bootable USB Drive

Download the MemTest86 USB image and use the included ImageUSB tool (Windows) to write it to a USB drive. The process takes about two minutes. Note that this will erase the USB drive, so use one you do not need for other purposes.

Running the Test

Boot from the USB drive by pressing the appropriate key during startup (typically F12, F8, or Del, depending on your motherboard). MemTest86 starts automatically and begins testing immediately. The interface shows:

  • Current pass number and percentage complete
  • Test being executed (there are 13 different tests)
  • Error count — this should remain at zero throughout
  • Memory speed and configuration details

How Long to Run It

For a basic check, two full passes are usually sufficient. For a thorough test — especially if you are trying to confirm a suspected fault — run at least four passes, which typically takes 4–8 hours depending on the amount of RAM installed. Some intermittent errors only appear after extended testing.

16GB DDR4 RAM module close-up
DDR4 RAM module. Modern systems use DDR4 or DDR5, both of which MemTest86 supports. Source: Wikimedia Commons

Isolating a Faulty Module

If MemTest86 reports errors, the next step is identifying which module is faulty. If you have two or more sticks installed:

  1. Remove all but one module and run MemTest86 again
  2. If no errors appear, shut down and swap to the next module
  3. Repeat until you find the stick that produces errors

Also test each module in different slots, as occasionally the issue is with the motherboard slot rather than the RAM itself.

XMP / EXPO Profiles and Stability

Many modern RAM kits are sold with XMP (Intel) or EXPO (AMD) profiles that run the memory faster than the JEDEC standard. These profiles are enabled in the BIOS and can sometimes cause instability, particularly on systems where the memory controller is not perfectly matched to the kit.

If MemTest86 shows errors with XMP enabled, try disabling the profile and running at the default speed. If errors disappear, the XMP profile is the cause — you may need to adjust timings manually or accept the lower speed.

Comparison Summary

  • Windows Memory Diagnostic — Quick, no setup required, good for a first check. Misses some error types.
  • MemTest86 — Comprehensive, hardware-level, tests full address space. Requires USB drive and a reboot. Recommended for any serious investigation.
External Reference

For technical details on memory error types and test algorithms, the MemTest86 technical documentation explains each of the 13 test patterns and what they detect.