WikiGamingPC

When you buy through our links, we may earn a commission. Learn more ›

Memory Errors: Run Diagnostics and Decide to Replace

Short answer: Windows Memory Diagnostic is a built-in utility that checks your RAM for problems. Run it from the Windows Recovery Environment or the login screen. If errors are found, the tool reports them after restart. A single error can indicate a failing module, but repeated errors across multiple passes confirm the need to replace the RAM. Always back up important data before replacing memory. For guidance on selecting replacement memory, see the best RAM for gaming guide.

Why memory errors matter for gaming

Memory errors can cause crashes, freezes, and corrupted files during gaming. When your system's RAM fails to store or retrieve data correctly, the operating system may display a blue screen or a game may close unexpectedly. These issues are often intermittent, making them hard to diagnose without a dedicated tool. Understanding the role of RAM in a gaming PC is essential; you can learn more about what RAM does in the what is RAM article.

Windows Memory Diagnostic is a built-in utility that scans your RAM for problems. It runs outside of Windows, so it can access all memory without interference from other programs. The tool performs a series of read and write operations to each memory location and reports any failures. This is the first step in determining whether a memory module is faulty. For a broader overview of RAM types and speeds, see DDR4 vs DDR5 RAM.

How to run Windows Memory Diagnostic

To start the diagnostic, press Windows + R, type "mdsched.exe", and press Enter. Choose to restart now and check for problems, or schedule the check for the next restart. The computer will restart and the diagnostic will begin automatically. This process is described in further detail in the how to run Windows Memory Diagnostic guide.

The tool runs through several passes, checking different patterns. The progress bar shows the percentage complete. A standard diagnostic takes about 20 minutes, but you can press F1 to change the diagnostic mix to Extended for a more thorough scan. The extended scan takes longer but covers more patterns. While the diagnostic runs, you cannot use the PC, so plan accordingly. If you have just built a new system or upgraded memory, consider the best RAM for gaming options before running the diagnostic.

After the diagnostic finishes, Windows restarts. The results appear in the Event Viewer under Windows Logs > System, with the source "MemoryDiagnostics-Results". Look for an entry that indicates no errors were detected, or one that lists specific errors. Understanding these results is key to deciding whether to replace RAM.

Interpreting error codes

The diagnostic reports errors in a summary. A message indicating errors were detected points to a problem. The details may include a hexadecimal code, such as 0x00000000, which is not user-friendly. The key is whether errors are present, not the exact code. The error code itself rarely points to a specific module; instead, you should focus on the presence of errors and their consistency.

If the diagnostic finds errors, it is likely that one or more RAM modules are faulty. However, a single error could be a transient issue. Run the diagnostic again to confirm. If errors appear consistently, the memory needs replacement. Sometimes errors are caused by incorrect memory settings in the BIOS, such as an unstable XMP profile. If you have enabled XMP or EXPO, try disabling it and rerun the diagnostic. If errors disappear, the profile is unstable, not the hardware. For more on this, see the how to enable XMP/EXPO guide.

If you are unsure about the stability of your system, consider checking other components. Memory errors can be confused with graphics card issues or overheating, but a memory diagnostic is the most direct way to isolate RAM problems. For a broader look at system stability, review the gaming PC troubleshooting article.

Deciding to replace RAM

If the diagnostic consistently reports errors, the RAM module is likely failing. Replacing the memory is the recommended solution. Before purchasing new RAM, check the motherboard's specifications for supported memory type and speed. For gaming PCs, DDR4 and DDR5 are common; the choice depends on the platform. You can compare current memory standards in the DDR4 vs DDR5 RAM article.

If you have multiple RAM modules, you can isolate the faulty one by checking each module individually. Remove all but one module and run the diagnostic. Repeat for each module. This helps identify which stick is failing, so you only replace that one. This approach is described in the how to install RAM in a gaming PC guide, though that guide focuses on installation. Always power down the system and follow anti-static precautions when handling components.

After replacing the RAM, run the diagnostic again to ensure the new memory passes without errors. This confirms the replacement resolved the issue. When selecting replacement memory, consider your gaming resolution and workload. A 16GB kit is often sufficient for 1080p gaming, while 32GB is beneficial for streaming or 4K gaming. The best RAM for gaming guide offers a breakdown of capacities and speeds.

What to pick for your play

When choosing replacement RAM, consider the capacity and speed that match your gaming needs. For most gaming PCs, 16GB is a solid baseline, while 32GB is beneficial for streaming or heavy multitasking. The speed should be supported by your motherboard and CPU. Reviewing the how much RAM do you need for gaming guide can help you decide.

If you are building a new system or upgrading, the guides below can help you select the right memory for your setup. Competitive esports players often prefer lower latency, while 4K gamers may need more capacity. For a prebuilt system, check the included memory specifications before making changes; the best prebuilt gaming PC guide lists models with various RAM configurations.

Memory selection by gaming style
Gaming styleRecommended RAM
Competitive esports at 1080p16GB DDR4 or DDR5
1440p gaming with high settings16GB or 32GB DDR5
4K gaming and content creation32GB DDR5

What to pick for your play

If youPickBuying guide
You play competitive shooters at 1080p16GB of DDR4 or DDR5 memoryBest 1080p Gaming PCs in 2026: Picks by Stated Specs
You play at 1440p with high settings16GB or 32GB of DDR5 memoryBest 1440p Gaming PCs in 2026: Picks by Stated Specs
You stream while gaming32GB of DDR5 memoryBest Gaming PCs for Streaming in 2026: Picks by Stated Specs
You play at 4K resolution32GB of DDR5 memoryBest 4K Gaming PC in 2026: Picks by Stated Graphics Memory

Questions

How long does Windows Memory Diagnostic take?

The standard diagnostic takes about 20 minutes. The extended diagnostic takes longer, depending on the amount of RAM. You can press F1 to choose the extended diagnostic before the scan begins.

Can I use my PC while the diagnostic runs?

No, the diagnostic runs outside of Windows and requires a restart. You cannot use the PC until it finishes. Plan to run it when you do not need the system.

What if the diagnostic finds no errors but I still have crashes?

If no errors are found, the issue may be elsewhere, such as the graphics card, storage, or software. Consider checking other components and reviewing the system event logs. For more ideas, see the blue screen of death error codes article.

Is it safe to replace RAM myself?

Replacing RAM is a straightforward process, but it involves opening the case and handling sensitive components. If you are comfortable with basic PC hardware, follow the motherboard manual and anti-static precautions. If not, consult a professional.

Can I mix RAM brands or speeds?

Mixing RAM is possible, but it may run at the speed of the slowest module and can occasionally cause instability. For best results, use identical modules from the same kit. See the how much RAM do you need for gaming guide for capacity advice.

Recent updates

  • : First published.

Sources

Related buying guides