Windows Memory Diagnostic Random Crashes: How To Test And Fix Bad RAM (2027)
Random crashes on Windows are often caused by faulty or badly configured memory (RAM).
The quickest check is the free tool already built into Windows, called Windows Memory Diagnostic.
Run it, read the result in Event Viewer, then work through the fixes below.
A clean result does not rule out RAM completely, but it points you toward drivers, software or heat instead.
Table of Contents
- Signs Memory May Be Behind Your Crashes
- Run Windows Memory Diagnostic
- Choose The Right Test Mode
- Find Your Test Results
- What The Results Mean
- Fix 1: Reseat The Memory
- Fix 2: Test One Stick At A Time
- Fix 3: Turn Off XMP Or EXPO Memory Boost
- Fix 4: Update Windows And Drivers
- If The Test Passes But Crashes Continue
- Summary
- Still Not Working?
- Related Topics
- More laptop and PC hardware guides
Signs Memory May Be Behind Your Crashes
Memory problems rarely look the same twice. Here are the common patterns and what they usually suggest.
| What you see | Likely cause |
|---|---|
| Blue screen saying MEMORY_MANAGEMENT | Faulty RAM or a bad RAM setting |
| Blue screen saying PAGE_FAULT_IN_NONPAGED_AREA | Bad RAM or a faulty driver |
| Apps close with no message | RAM, software conflict or low free memory |
| PC restarts by itself | RAM, power or overheating |
| “Memory could not be written” pop-up | RAM or a misbehaving program |
If the restarts are your main problem, see why a PC restarts randomly for other causes.
Run Windows Memory Diagnostic
The test runs before Windows starts, so save your work first. Your PC will restart.
- Save and close everything you have open.
- Click Start and type Windows Memory Diagnostic.
- Open the app. (You can also press Windows key + R, type mdsched.exe and press Enter.)
- Click Restart now and check for problems (recommended).
- Wait while the blue test screen runs. It shows a progress bar and a status line.
- Your PC restarts into Windows when the test finishes.
Our separate guide covers how to run Windows Memory Diagnostic in more detail.
Choose The Right Test Mode
Standard is the default, but a deeper test catches more. While the test screen is showing, press F1 to change options.
| Mode | Thoroughness | Best for |
|---|---|---|
| Basic | Lightest | A very quick look |
| Standard | Medium (default) | First test |
| Extended | Deepest, takes much longer | Crashes that keep coming back |
Use the Tab key to move between options and F10 to apply your choice.
Extended can take a long time, so start it when you will not need the PC.
Find Your Test Results
Windows should show a result after you sign in, but it often does not. Check Event Viewer instead.
- Right-click the Start button and choose Event Viewer.
- Open Windows Logs and click System.
- In the right pane, click Find.
- Type MemoryDiagnostics-Results and click Find Next.
- Double-click the entry to read the message.
What The Results Mean
| Result | What it means | Next step |
|---|---|---|
| No memory errors detected (Event ID 1201) | The test found no fault | Try an Extended test, then check drivers and software |
| Memory errors detected (Event ID 1202) | Something in your RAM or its settings is failing | Follow Fixes 1 to 3 below |
| No result found | Test may not have finished | Run it again and let it complete |
Fix 1: Reseat The Memory
A loose memory stick is a common and free fix. This applies to desktop PCs and to laptops that have a removable memory panel.
- Shut down and unplug the PC.
- Touch bare metal on the case to discharge static.
- Open the case and find the memory sticks.
- Release the clips on each end and lift each stick out.
- Push each one back firmly until both clips click.
- Close the case, plug in and run the test again.
If you are not comfortable opening your PC, a local repair shop can do this quickly.
Fix 2: Test One Stick At A Time
This shows you which stick or slot is the culprit. Leave one stick in and run the diagnostic.
- Test each stick alone in the same slot.
- Then test the same stick in a different slot.
- A stick that fails in every slot is bad and needs replacing.
- A slot that fails with every stick may be a motherboard problem.
Fix 3: Turn Off XMP Or EXPO Memory Boost
Memory speed profiles can cause crashes on some PCs. XMP (Intel) and EXPO (AMD) run your RAM faster than its default speed.
- Restart and press the BIOS key as the PC starts (often Delete or F2; it varies by maker).
- Look for a memory or overclocking section.
- Set XMP or EXPO to Disabled or Auto.
- Save and exit, then use the PC for a day or two.
Menu names differ between motherboards, so check your PC or motherboard manual if you cannot find it.
Fix 4: Update Windows And Drivers
Not every memory-type crash is a hardware fault. Outdated drivers can trigger the same blue screens.
- Open Settings then Windows Update.
- Click Check for updates and install everything offered.
- Click Advanced options then Optional updates and install any driver updates.
- Restart the PC.
Also get your graphics driver from your graphics card maker’s website.
If The Test Passes But Crashes Continue
The built-in tool is not perfect, so a pass is not a guarantee. A longer test with a free tool such as MemTest86 can find faults it misses.
If the crashes happen in one program only, the problem is probably software. These guides may help:
Overheating and a failing power supply can also cause random crashes. We have not covered how to test those here.
Summary
Run Windows Memory Diagnostic, then read the result in Event Viewer.
If it finds errors, reseat the RAM, test one stick at a time and turn off XMP or EXPO.
If it finds none, update Windows and your drivers and run an Extended test.
Still Not Working?
Run a longer test with MemTest86, or swap in a known-good stick. If errors show up on the same stick every time, replace it.
If memory tests clean and crashes continue, the problem may be the drive, power supply, overheating or Windows itself. A repair shop can test those parts.
Chrome tabs dying specifically? Read about the Chrome out of memory error.
Related Topics
- How To Read A Windows Blue Screen Error Code
- How To Check How Much RAM You Have In Windows 11
- How To Check Your PC For Overheating
- How To Use Reliability Monitor To Find Crash Causes
- How To Update BIOS On A Windows PC
Spotted a step that no longer matches what you see? Read how we verify our guides and how to report an error.
More laptop and PC hardware guides
- Is RAM and Memory the Same? The Difference Explained
- How To Find Your PC's RAM Type, Speed And Free Slots In Windows
- What Does Memory Do for a Computer? How RAM Affects Speed
- RAM Memory Explained: What It Is, What It Does and How Much You Need
- What Is RAM (Computer Memory)? A Plain-English Guide
- Is 8GB RAM Enough for Windows 11? What to Expect in 2026
Found this guide useful? Add The Droid Guy to your favorites on Google to see our guides more often in Google Search.