Blue Screen of Death MEMORY_MANAGEMENT (Stop Code 0x0000001A): Complete Fix Guide
Fix the MEMORY_MANAGEMENT blue screen of death on Windows 10/11. Step-by-step diagnosis with MemTest86, SFC, DISM, and driver fixes. Resolve BSOD fast.
- Root cause 1: Faulty or failing RAM modules causing memory read/write errors, triggering stop code 0x0000001A.
- Root cause 2: Corrupt or incompatible device drivers (e.g., nvlddmkm.sys, athrx.sys) mismanaging memory address space.
- Root cause 3: Damaged Windows system files, bad Windows Update patches, or corrupt page file configuration.
- Root cause 4: Overclocked CPU/RAM running outside stable voltage and frequency tolerances.
- Quick fix summary: Run Windows Memory Diagnostic or MemTest86 to isolate RAM faults, update or roll back suspect drivers, repair system files with SFC and DISM, and verify RAM seating before considering hardware replacement.
| Method | When to Use | Time | Risk |
|---|---|---|---|
| Windows Memory Diagnostic | First-pass RAM check, quick sanity test | 10-30 min | None |
| MemTest86 (bootable) | Deep RAM fault isolation, multiple passes | 2-8 hours | None |
| SFC /scannow | Corrupt system files suspected post-update | 15-30 min | Very Low |
| DISM RestoreHealth | SFC fails or reports unfixable errors | 20-45 min | Very Low |
| Driver rollback / update | BSOD started after driver or Windows update | 5-20 min | Low |
| Re-seat / replace RAM | MemTest86 reports errors or single-stick test fails | 15-60 min | Low (hardware) |
| Reset page file | Virtual memory or paging errors in Event Viewer | 5 min | Low |
| Clean Windows reinstall | All software fixes exhausted, BSOD persists | 1-3 hours | High (data loss) |
Understanding the MEMORY_MANAGEMENT Blue Screen of Death
The MEMORY_MANAGEMENT stop code (0x0000001A) is one of the most common and alarming blue screens Windows users encounter. It fires when the Windows kernel detects a severe inconsistency in its own memory management subsystem. Unlike softer memory warnings, this BSOD indicates that something has fundamentally violated the rules Windows uses to allocate, protect, and deallocate memory pages.
You will see one of these exact messages on screen:
STOP: 0x0000001A (MEMORY_MANAGEMENT)Your PC ran into a problem and needs to restart. Stop code: MEMORY_MANAGEMENTBug Check 0x1A: MEMORY_MANAGEMENT
The four hexadecimal parameters in parentheses after the stop code narrow down the sub-type. For example, parameter 1 value 0x41201 indicates a corrupt PTE (Page Table Entry), while 0x41284 points to a bad pool caller scenario related to memory_management.
Step 1: Capture the Crash Details
Before touching anything, collect evidence.
Event Viewer
- Press
Win + Xand select Event Viewer. - Navigate to Windows Logs > System.
- Filter for Critical and Error events around the crash timestamp.
- Look for source
BugCheck,Memory-Diagnostics-Results, or driver names likenvlddmkm,athrx, orntoskrnl.
WinDbg / BlueScreenView (offline analysis)
Minidump files are saved to C:\Windows\Minidump\. Use NirSoft BlueScreenView or the Windows SDK WinDbg to open .dmp files and read the faulting module.
Step 2: Run the Windows Memory Diagnostic
This is the fastest first check and requires no extra tools.
- Press
Win + R, typemdsched.exe, press Enter. - Choose Restart now and check for problems.
- Windows reboots into a blue test screen (not a BSOD) and runs two passes by default.
- After reboot, open Event Viewer > Windows Logs > System and search for source
MemoryDiagnostics-Results.
If errors are found, proceed to MemTest86 for confirmation. If no errors are found, RAM may still be intermittently faulty — proceed to the driver and system file checks.
Step 3: Deep RAM Test with MemTest86
MemTest86 is the gold standard for memory validation. It runs outside Windows, eliminating software interference.
- Download MemTest86 from memtest86.com and write it to a USB drive using the included installer.
- Boot from the USB (adjust BIOS boot order if needed).
- Let it complete at least 2 full passes (4+ passes for comprehensive coverage).
- Any red
FAILentry means that memory address is unreliable.
If errors appear: Shut down, remove all RAM sticks, and re-seat them firmly. Test each stick individually to isolate the faulty module. Replace any stick that consistently fails.
RAM re-seating procedure:
- Power off completely and unplug.
- Ground yourself (touch the metal PC case).
- Press the retention clips outward, remove the stick, inspect the gold contacts for oxidation, and re-insert firmly until both clips click.
Step 4: Repair System Files with SFC and DISM
Corrupt Windows system files — especially after a failed Windows Update — are a leading software cause of MEMORY_MANAGEMENT BSODs.
Open Command Prompt as Administrator and run the commands shown in the code block section below in sequence.
Key points:
SFC /scannowrepairs files using the local Windows cache.- If SFC reports
Windows Resource Protection found corrupt files but was unable to fix some of them, run DISM first to repair the repair source itself, then re-run SFC. - Always reboot between SFC and a second SFC run.
Step 5: Identify and Fix the Faulting Driver
Drivers like nvlddmkm.sys (NVIDIA GPU), athrx.sys (Qualcomm/Atheros Wi-Fi), and various third-party kernel drivers frequently cause MEMORY_MANAGEMENT crashes by writing outside their allocated memory space.
Find the culprit driver:
- Open BlueScreenView, load your minidump.
- The column Caused By Driver names the faulting
.sysfile. - Right-click the entry > Google for the driver name.
Update the driver:
- For NVIDIA: Download the latest Game Ready or Studio driver from nvidia.com. Use DDU (Display Driver Uninstaller) in Safe Mode to cleanly remove the old driver before installing the new one.
- For Atheros Wi-Fi (athrx.sys): Visit your laptop manufacturer's support page for the latest wireless driver package.
- For generic drivers: Open Device Manager (
devmgmt.msc), right-click the device, select Update driver.
Roll back a driver that broke things:
- In Device Manager, right-click the device > Properties > Driver tab.
- Click Roll Back Driver if available.
- Reboot.
Step 6: Reset the Page File
A corrupt or misconfigured virtual memory page file can trigger memory management errors.
- Press
Win + Pause> Advanced System Settings > Advanced tab > Performance Settings > Advanced > Change. - Uncheck Automatically manage paging file size.
- Select No paging file > Set > OK.
- Reboot.
- Return to the same dialog, select System managed size > Set > OK.
- Reboot again.
Step 7: Check for Bad Windows Updates
If the BSOD started immediately after Windows Update, a patch may have introduced an incompatible driver or kernel component.
- Open Settings > Windows Update > Update History > Uninstall Updates.
- Find the most recent Cumulative Update (e.g.,
KB5034441) and uninstall it. - Reboot and test stability.
- Consider pausing updates for 7 days while Microsoft issues a fix.
For the specific error blue screen of death 0xc000021a (a related but distinct stop code), the Windows Session Manager or WinLogon subsystem has failed — this often requires Startup Repair from the Windows installation media.
Step 8: Advanced — Disable Overclocking and Check Voltages
If your CPU or RAM is overclocked (via BIOS XMP/EXPO profiles or manual tuning), memory instability is a primary suspect.
- Reboot into BIOS/UEFI (press Del, F2, or F12 at POST).
- Load Optimized Defaults or disable XMP/EXPO temporarily.
- Save and exit. Test system stability.
If the BSOD stops, your XMP profile or manual overclock is the cause. Try setting RAM to its rated XMP speed with stock voltage rather than manually pushing it higher.
Step 9: Last Resort — Startup Repair and Clean Install
If all of the above fail and the system BSODs in a loop:
Startup Repair:
- Boot from Windows 11/10 installation USB.
- Select Repair your computer > Troubleshoot > Advanced Options > Startup Repair.
Clean Install: Back up all data to an external drive, then use the Media Creation Tool from microsoft.com to perform a fresh Windows installation. This resolves all software-side causes with certainty.
Platform-Specific Notes
- Samsung laptops / Surface devices: Check for manufacturer-specific driver packs from the vendor support site before using generic Windows Update drivers.
- Android / Samsung phones showing blue screen: This is unrelated to Windows MEMORY_MANAGEMENT. Android BSODs are typically caused by kernel panics from failed OTA updates — perform a factory reset or flash stock firmware via Odin (Samsung) or the device's recovery mode.
- Nintendo Switch blue screen: This indicates a firmware or hardware fault on the Switch itself — not a Windows error. Contact Nintendo support or attempt a factory reset.
- Ender 3 blue screen: The Ender 3 3D printer's blue screen on its touch display is a firmware issue, not a Windows BSOD. Reflash the printer firmware via SD card.
Frequently Asked Questions
# ============================================================
# MEMORY_MANAGEMENT BSOD Diagnostic & Repair Commands
# Run all commands in an ELEVATED Command Prompt (Run as Admin)
# ============================================================
# --- STEP 1: Check for corrupt system files ---
sfc /scannow
# Wait for completion. If errors found, continue to DISM.
# --- STEP 2: Repair the Windows component store (DISM) ---
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
# After DISM completes, re-run SFC:
sfc /scannow
# --- STEP 3: Check disk for bad sectors ---
chkdsk C: /f /r /x
# Type Y to schedule on next reboot, then restart.
# --- STEP 4: Check RAM via command line (quick) ---
mdsched.exe
# (GUI tool launches -- choose restart now)
# --- STEP 5: Analyze crash dump via PowerShell (list recent BSODs) ---
Get-EventLog -LogName System -Source "BugCheck" -Newest 10 | Format-List TimeGenerated, Message
# --- STEP 6: List all installed drivers and their status ---
driverquery /v /fo csv > C:\drivers_report.csv
# Open drivers_report.csv in Excel to review Driver Type and State
# --- STEP 7: Check for driver signing violations ---
sc query type= driver state= all | findstr /i "SERVICE_NAME STATE"
# --- STEP 8: Reset virtual memory page file via command line ---
wmic computersystem set AutomaticManagedPagefile=False
wmic pagefileset delete
# Reboot, then re-enable:
wmic computersystem set AutomaticManagedPagefile=True
# --- STEP 9: Verify RAM specs and XMP status (PowerShell) ---
Get-WmiObject -Class Win32_PhysicalMemory | Select-Object Manufacturer,Speed,Capacity,MemoryType | Format-Table -AutoSize
# --- STEP 10: Export System Event Log for offline analysis ---
wevtutil epl System C:\SystemLog_Export.evtx
# --- STEP 11: Run Windows Startup Repair from command line (boot environment) ---
# (Run this from Windows Recovery Environment CMD, not normal Windows)
bcdboot C:\Windows /s C: /f ALL
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
# --- STEP 12: Roll back a specific driver (example: NVIDIA display) ---
# First find the driver inf name:
pnputil /enum-drivers | findstr /i "nvidia"
# Then roll back via Device Manager UI, or reinstall previous version
# Use DDU (Display Driver Uninstaller) in Safe Mode for clean removal:
# https://www.guru3d.com/files-details/display-driver-uninstaller-download.html
# ============================================================
# SAFE MODE BOOT (if BSOD prevents normal startup)
# ============================================================
bcdedit /set {default} safeboot minimal
# Reboot into Safe Mode, perform fixes, then restore normal boot:
bcdedit /deletevalue {default} safebootError Medic Editorial
The Error Medic Editorial team is composed of senior DevOps engineers, SREs, and Windows system administrators with over 15 years of combined experience diagnosing kernel-level failures, memory faults, and driver conflicts across enterprise and consumer Windows environments. Our guides are built from real-world incident postmortems, Microsoft documentation, and hands-on hardware testing. We cover everything from stop code analysis and minidump forensics to RAM replacement and clean OS recovery procedures.
Sources
- https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x1a--memory-management
- https://support.microsoft.com/en-us/windows/using-system-file-checker-sfc-to-repair-windows-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e
- https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image
- https://www.memtest86.com/technical.htm
- https://stackoverflow.com/questions/tagged/bsod
- https://learn.microsoft.com/en-us/windows/client-management/windows-version-search