In this guide
  1. What causes the memory management stop code?
  2. Step 1: Run Windows Memory Diagnostic
    1. Where to find the Windows Memory Diagnostic results
  3. Step 2: Run a longer test with MemTest86
  4. Step 3: Find the faulty module
  5. Step 4: Turn off XMP, EXPO or any overclock
  6. Step 5: Update or roll back drivers
  7. Step 6: Repair Windows system files and check the disk
  8. Step 7: Check the page file
  9. If it doesn’t work
  10. FAQ
    1. Is memory management BSOD always bad RAM?
    2. How long does Windows Memory Diagnostic take?
    3. Can a memory management blue screen be fixed without replacing RAM?
    4. What is stop code 0x0000001A?
    5. Can a failing SSD cause memory management errors?

A memory management blue screen (stop code MEMORY_MANAGEMENT, bug check 0x1A) means Windows found a serious error in how memory was being used. The most common causes are faulty or unstable RAM, a bad driver, and corrupted system files, so the fix is to test your RAM first (with Windows Memory Diagnostic or MemTest86), then turn off any memory overclock, update drivers and repair Windows files.

One blue screen after a big update can be a one-off. If the stop code: memory management keeps coming back, work through the steps below in order. They go from quick and safe to more involved.

Back up first. Repeated crashes can corrupt files that were open. If Windows still starts, copy your important documents and photos to a USB drive or cloud storage before you start testing.

What causes the memory management stop code?

Four common causes of the memory management blue screen: faulty RAM, overclock, drivers and corrupted files

  • Faulty RAM. A memory module with bad cells gives Windows wrong data. This is the cause to rule out first, because nothing else is fixed for long if the RAM is bad.
  • Unstable memory settings. An XMP or EXPO profile, or a manual overclock, can be slightly too fast for your particular modules or processor.
  • A faulty driver. Graphics, storage, network and antivirus drivers work closely with memory. A buggy one can trigger 0x1A even when the RAM is fine.
  • Corrupted system files or disk errors. Damaged Windows files or a failing drive can cause memory errors when data is read back in.
  • Mixed or newly added RAM. Modules of different speeds, brands or sizes don’t always work well together.

If you want to confirm the stop code and see which driver was involved before you start, our guide on how to find what caused a blue screen shows how to read the crash files.

Step 1: Run Windows Memory Diagnostic

Windows has a free RAM test built in. It runs before Windows loads, so it can test memory that Windows would normally be using.

Windows Memory Diagnostic window with Restart now and check for problems selected

  1. Save your work and close your apps.
  2. Press Windows + R, type mdsched.exe and press Enter. (You can also search the Start menu for Windows Memory Diagnostic.)
  3. Select Restart now and check for problems (recommended).
  4. The PC restarts into a blue test screen. The standard test takes around 10-30 minutes, depending on how much RAM you have.
  5. For a more thorough test, press F1 on the test screen, choose Extended with the arrow keys and Tab, then press F10 to start. Extended takes much longer, often over an hour.
  6. When it finishes, Windows restarts and may show the result in a notification after you sign in.

Where to find the Windows Memory Diagnostic results

If you missed the notification:

  1. Right-click Start and choose Event Viewer.
  2. Go to Windows Logs → System.
  3. In the right panel, select Find…, type MemoryDiagnostics-Results and press Find Next.
  4. Open the event. It says whether hardware errors were detected.

If no result appears, run the test again; on some PCs the result isn’t logged reliably.

Step 2: Run a longer test with MemTest86

Windows Memory Diagnostic can miss errors that only appear after the RAM warms up. If it finds nothing but you still get memory management blue screens, run MemTest86, a free test that boots from a USB stick. Download it only from the official site, memtest86.com.

  1. Download the free version and use its included image-writing tool to create the bootable USB stick (this erases the USB stick, so use an empty one).
  2. Restart the PC and boot from the USB stick. The key for the boot menu differs by maker: often F12, F11, F8 or Esc. Check your PC or motherboard manual.
  3. Let it run all four passes. This can take several hours, so start it before bed.
  4. Any errors at all mean the RAM, or the memory settings, are not stable. A healthy system shows zero errors.

Step 3: Find the faulty module

If either test found errors:

Close-up of a laptop SODIMM memory module, the type of RAM fitted in most laptops Photo: Franck V. on Unsplash

  1. Shut down, unplug the PC (and remove the battery if your laptop has a removable one), and hold the power button for 10 seconds.
  2. Reseat each module: release the clips, take it out and push it firmly back in. Dust or a module that’s slightly loose can cause errors on its own.
  3. Test one module at a time. The module that gives errors on its own is the faulty one. If every module fails in one slot but passes in another, the slot or motherboard may be the problem.
  4. Replace the faulty module with one that matches the type, speed and size of the others. Our guide to checking your RAM type in Windows helps you buy the right one.

Laptops: many thin laptops have RAM soldered to the board, so you can’t swap it. If the test finds errors, contact the maker’s support, especially if it’s under warranty. Our guide on how to tell if your RAM is bad lists the other warning signs.

Step 4: Turn off XMP, EXPO or any overclock

If the RAM passes at default settings but fails with a memory profile on, it isn’t faulty: it’s running too fast for your system.

  1. Restart and enter the BIOS or UEFI setup. The key differs by maker: usually Del or F2 on desktops, and F2, F10, F1 or Esc on laptops.
  2. Find the memory profile setting. It’s called XMP on Intel systems and EXPO or DOCP on AMD systems, often under an “AI Tweaker”, “OC” or “Extreme Tweaker” tab.
  3. Set it to Disabled or Auto, then save and exit (usually F10).
  4. Use the PC normally for a few days. If the blue screens stop, you can leave it off, or try the profile again after a BIOS update.

Step 5: Update or roll back drivers

A memory management blue screen that started after a driver or Windows update points to software, not RAM.

Device Manager with the display adapter selected and Update driver in the right-click menu

  1. Install pending updates in Settings → Windows Update, including Advanced options → Optional updates, which often has driver fixes.
  2. Update your graphics driver from the GPU maker’s website (NVIDIA, AMD or Intel) or your laptop maker’s support page.
  3. If the problems began right after a driver update, open Device Manager (right-click Start), right-click the device, choose Properties → Driver → Roll Back Driver.
  4. Temporarily uninstall third-party antivirus and system “booster” or RGB control utilities, which install low-level drivers.

Our guide to installing drivers on Windows explains where to find the right ones.

Step 6: Repair Windows system files and check the disk

Open Terminal (Admin) or Command Prompt (Admin) (right-click Start) and run these one at a time:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

DISM repairs the Windows component store (it needs an internet connection and can take 10-20 minutes); SFC then uses it to repair system files. Restart when both finish. Our guide to SFC vs DISM explains what each one does and how to read the results.

Then check the drive for file system errors:

chkdsk C: /scan

If it reports problems, run chkdsk C: /f and agree to run it at the next restart.

Step 7: Check the page file

Windows uses a page file on the drive as overflow memory. If someone turned it off or set it very small, crashes become more likely.

  1. Press Windows + R, type sysdm.cpl and press Enter.
  2. Go to Advanced → Performance → Settings → Advanced → Virtual memory → Change.
  3. Tick Automatically manage paging file size for all drives, select OK and restart.

If it doesn’t work

  • The PC crashes before Windows loads: run Windows Memory Diagnostic from the recovery screen (Troubleshoot → Advanced options → Command Prompt, then type mdsched.exe), or use MemTest86 from USB. If Windows won’t start at all, see our PC won’t boot guide.
  • RAM passes every test but the crashes continue: read the minidump to find the driver named in the crash, as shown in our blue screen cause guide. Other stop codes, such as DPC watchdog violation, point more clearly to drivers.
  • Crashes only under heavy load (games, video): heat or an unstable power supply can cause memory errors too. Check temperatures and see our guide to a PC that restarts randomly.
  • As a last resort, reset Windows with Settings → System → Recovery → Reset this PC, choosing Keep my files. Back up first anyway.

FAQ

Is memory management BSOD always bad RAM?

No. Bad RAM is the most common cause, but unstable memory profiles, buggy drivers and corrupted system files cause it too. That’s why you test the RAM first and then work through drivers and files.

How long does Windows Memory Diagnostic take?

The standard test usually takes 10-30 minutes. The Extended test can take an hour or more, depending on how much memory you have.

Can a memory management blue screen be fixed without replacing RAM?

Often, yes. Reseating the modules, turning off XMP or EXPO, updating drivers and running SFC and DISM fix many cases. Replace the RAM only if a memory test shows errors at default settings.

What is stop code 0x0000001A?

It’s the code for MEMORY_MANAGEMENT. You’ll see it in Event Viewer, Reliability Monitor or a crash dump viewer instead of the name shown on the blue screen.

Can a failing SSD cause memory management errors?

It can contribute, because Windows reads data back from the page file on the drive. If memory tests pass, check the drive’s health with the maker’s tool and run chkdsk.

Technology Sage

The Technology Sage desk: guides, explainers and contributed articles since 2014.