Error Medic

BSOD Memory Management Error: Complete Troubleshooting Guide for Windows 10 & 11 (Stop Code: MEMORY_MANAGEMENT)

Fix BSOD MEMORY_MANAGEMENT stop code errors on Windows 10/11. Step-by-step guide with real commands to diagnose RAM, drivers, and disk issues fast.

Last updated:
Last verified:
2,384 words
Key Takeaways
  • Root cause #1: Faulty or incompatible RAM — bad memory sticks, wrong XMP/EXPO profile, or mismatched DIMMs trigger 0x0000001A (MEMORY_MANAGEMENT) and related codes like PFN_LIST_CORRUPT and BAD_POOL_HEADER.
  • Root cause #2: Corrupt or outdated drivers — GPU drivers (nvlddmkm.sys, atikmdag.sys, amdkmpfd.sys), storage drivers (iastora.sys, storport.sys), and network drivers (ndis.sys, netio.sys) are the most common culprits found in minidump analysis.
  • Root cause #3: Disk errors and corrupt system files — bad sectors, a failing NTFS volume, or corrupt Windows system binaries (ntoskrnl.exe, ntfs.sys, win32kbase.sys) cause cascading kernel panics.
  • Quick fix summary: Run Windows Memory Diagnostic or MemTest86 to rule out hardware, use Driver Verifier to isolate bad drivers, run SFC /scannow and DISM to repair system files, and check your disk with CHKDSK. Reseat or replace RAM sticks if hardware faults are confirmed.
BSOD Memory Management Fix Approaches Compared
MethodWhen to UseTime RequiredRisk Level
Windows Memory Diagnostic (mdsched.exe)First step — suspect bad RAM after upgrade or random BSODs15–60 minutesNone — read-only test
MemTest86 (bootable USB)Deep hardware RAM validation, especially after RAM upgrade or OC4–8 hours for full passNone — runs outside Windows
SFC /scannow + DISMBSODs after Windows Update or corrupt system files suspected10–30 minutesLow — repairs OS files in place
CHKDSK /f /rNTFS.sys BSODs, unmountable boot volume, hard drive failure signs30–120 minutesLow — requires reboot
Driver VerifierNarrowing down a bad third-party driver (GPU, antivirus, NIC)Ongoing until crash reproducedMedium — can cause BSODs intentionally
DDU + Clean Driver ReinstallGPU BSODs: nvlddmkm.sys, atikmdag.sys, atikmpag.sys, dxgkrnl.sys20–40 minutesLow — removes current GPU driver
System Restore / ResetNothing else works, recent change caused BSODs30–120 minutesMedium–High — may lose apps/data
Reseat / Replace RAMMemTest86 errors confirmed, BSOD after RAM upgrade10–20 minutesLow if careful with ESD

Understanding the BSOD MEMORY_MANAGEMENT Error

The MEMORY_MANAGEMENT Blue Screen of Death (stop code 0x0000001A) is one of Windows' most urgent kernel-level errors. It signals that the Windows memory manager encountered a fatal condition it could not recover from — corrupted page tables, invalid pool allocations, or hardware-level memory failures. You will see the error displayed as:

Your PC ran into a problem and needs to restart.
Stop Code: MEMORY_MANAGEMENT

Related stop codes that share the same root causes include PFN_LIST_CORRUPT (0x0000004E), BAD_POOL_HEADER (0x00000019), BAD_POOL_CALLER (0x000000C2), KERNEL_SECURITY_CHECK_FAILURE (0x00000139), and DPC_WATCHDOG_VIOLATION (0x00000133). On Windows 10 and Windows 11, these often appear interchangeably depending on which kernel component detects the fault first.


Step 1: Collect Your Minidump and Identify the Culprit

Before touching any settings, collect forensic evidence. Every BSOD writes a minidump file to C:\Windows\Minidump\. Use the free tool WinDbg (Windows Debugger) or BlueScreenView to parse these files.

Using BlueScreenView (GUI):

  1. Download BlueScreenView from NirSoft (nirsoft.net).
  2. Open the application — it auto-loads all .dmp files from C:\Windows\Minidump\.
  3. Look at the Caused By Driver column. Common offenders: ntoskrnl.exe, nvlddmkm.sys, atikmdag.sys, amdkmpfd.sys, ndis.sys, win32kbase.sys.

Using Windows Event Viewer:

  1. Press Win + R, type eventvwr.msc, press Enter.
  2. Navigate to Windows Logs → System.
  3. Filter by Event ID 1001 (BugCheck). The log entry will contain the stop code and faulting module.

Using WinDbg (Advanced): Open WinDbg, go to File → Open Crash Dump, select the .dmp file, then type !analyze -v in the command window. This gives you the full stack trace, faulting driver, and memory address.


Step 2: Test Your RAM Hardware

Memory hardware faults are the #1 cause of MEMORY_MANAGEMENT BSODs, especially after a RAM upgrade or BIOS change.

Option A — Windows Memory Diagnostic (Quick):

  1. Press Win + R, type mdsched.exe, press Enter.
  2. Choose Restart now and check for problems.
  3. After reboot, the test runs automatically. Results appear in Event Viewer under Windows Logs → System, Event Source: MemoryDiagnostics-Results.

Option B — MemTest86 (Thorough, recommended):

  1. Download MemTest86 from memtest86.com.
  2. Flash to a USB drive using the included tool.
  3. Boot from USB and run at least 2 full passes (4+ passes recommended).
  4. Any errors = faulty RAM. Replace or RMA the stick.

Hardware Troubleshooting Steps:

  • Remove all RAM sticks. Reseat them firmly, ensuring the clips click.
  • If you have multiple sticks, test one at a time in the primary slot (usually A2 per motherboard manual).
  • Check your BIOS XMP/EXPO profile — running RAM above rated specs without proper XMP can cause instability. Enter BIOS, find AI Overclock Tuner or DRAM Timing Configuration, and either enable the correct XMP profile or set memory to JEDEC default speeds.
  • After a RAM upgrade, always verify the new sticks are on your motherboard's QVL (Qualified Vendor List).

Step 3: Repair Windows System Files

Corrupt OS files — especially after a Windows Update gone wrong — are the second most common cause.

Run SFC (System File Checker): Open an elevated Command Prompt (Run as Administrator) and execute:

sfc /scannow

Wait for the scan to complete. If it reports Windows Resource Protection found corrupt files but was unable to fix some of them, proceed to DISM.

Run DISM (Deployment Image Servicing and Management):

DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

DISM downloads replacement files from Windows Update servers. After it completes, run SFC again to verify all files are repaired.


Step 4: Check Your Disk for Errors

BSODs involving ntfs.sys, iastora.sys, storport.sys, or the UNMOUNTABLE_BOOT_VOLUME stop code point to disk-level problems.

Run CHKDSK: In an elevated Command Prompt:

chkdsk C: /f /r /x

Windows will schedule the check on the next reboot since the system drive is in use. Type Y and restart.

Check S.M.A.R.T. Data: Use CrystalDiskInfo (free) or run:

wmic diskdrive get status

A result of Pred Fail or Unknown alongside BSOD symptoms = imminent drive failure. Back up your data immediately.


Step 5: Isolate and Fix Bad Drivers

If your minidump consistently points to a specific .sys file, the fix is driver-specific:

GPU Drivers (nvlddmkm.sys, atikmdag.sys, atikmpag.sys, dxgkrnl.sys, dxgmms1.sys, amdkmpfd.sys, amdppm.sys):

  1. Download DDU (Display Driver Uninstaller) from guru3d.com.
  2. Boot into Safe Mode.
  3. Run DDU, select your GPU vendor, and choose Clean and restart.
  4. After reboot, install the latest stable driver from NVIDIA or AMD directly (not Windows Update).

Network Drivers (ndis.sys, netio.sys, netwtw10.sys, ndu.sys, tcpip.sys):

  • Update your NIC driver from the motherboard/laptop vendor's support page.
  • Temporarily disable network adapters in Device Manager to confirm if the BSOD stops.

Antivirus / Security Software (avira, kaspersky, mcafee, norton, sophos, carbon black, crowdstrike): Antivirus kernel drivers are a notorious source of BSODs, especially after Windows Updates. The CrowdStrike BSOD incident of 2024 is the most high-profile example. Steps:

  1. Boot into Safe Mode (press F8 or Shift+Restart → Troubleshoot → Advanced Options → Startup Settings → F4).
  2. Uninstall the antivirus product completely using its dedicated removal tool.
  3. If BSODs stop, the AV was the culprit. Reinstall a newer version or switch products.

Driver Verifier (for unknown driver BSODs): Driver Verifier stresses all non-Microsoft drivers and forces a BSOD with the exact driver name when one misbehaves.

  1. Run verifier as Administrator.
  2. Choose Create standard settings → Select all drivers installed on this computer.
  3. Reboot and use your PC normally. When a BSOD occurs, the stop code will now name the exact faulting driver.
  4. After identifying the driver, disable Verifier: run verifier /reset and reboot.

CAUTION: Do not leave Driver Verifier enabled permanently — it will slow your system and cause intentional BSODs.


Step 6: Advanced — Startup Repair and System Restore

If the system BSODs on boot (especially stop codes 0xc000021a, 0xc0000098, 0xc000000e, BAD_SYSTEM_CONFIG_INFO):

  1. Boot from a Windows installation USB.
  2. Choose Repair your computer → Troubleshoot → Advanced Options → Startup Repair.
  3. If Startup Repair fails, try System Restore to roll back to a known-good state.
  4. As a last resort, use Reset this PC with the Keep my files option.

For 0xc000021a specifically (critical Windows subsystem failure), the BCD (Boot Configuration Data) may be corrupt:

bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd

Run these commands from the Windows Recovery Environment Command Prompt.

Frequently Asked Questions

powershell
# ============================================================
# BSOD MEMORY_MANAGEMENT - Diagnostic & Fix Script
# Run as Administrator in PowerShell
# ============================================================

# --- 1. Export recent BSODs from Event Viewer ---
Write-Host "=== Recent BSOD Events ==="
Get-WinEvent -FilterHashtable @{LogName='System'; Id=1001} -MaxEvents 10 |
  Select-Object TimeCreated, Message |
  Format-List

# --- 2. List minidump files ---
Write-Host "`n=== Minidump Files ==="
$dumpPath = "C:\Windows\Minidump"
if (Test-Path $dumpPath) {
    Get-ChildItem -Path $dumpPath -Filter "*.dmp" |
      Sort-Object LastWriteTime -Descending |
      Select-Object Name, LastWriteTime, @{N='SizeMB';E={[math]::Round($_.Length/1MB,2)}} |
      Format-Table -AutoSize
} else {
    Write-Host "No minidump folder found. Check Small Memory Dump is configured."
}

# --- 3. Configure Windows to write minidumps (if not set) ---
# Sets dump type to Small Memory Dump (256KB)
$regPath = "HKLM:\SYSTEM\CurrentControlSet\Control\CrashControl"
Set-ItemProperty -Path $regPath -Name "CrashDumpEnabled" -Value 3
Set-ItemProperty -Path $regPath -Name "MinidumpDir" -Value "%SystemRoot%\Minidump"
Write-Host "`n=== Crash dump settings configured ==="

# --- 4. Run SFC (System File Checker) ---
Write-Host "`n=== Running SFC /scannow ==="
Start-Process -FilePath "sfc" -ArgumentList "/scannow" -Wait -NoNewWindow

# --- 5. Run DISM to restore health ---
Write-Host "`n=== Running DISM RestoreHealth ==="
Start-Process -FilePath "DISM.exe" `
  -ArgumentList "/Online /Cleanup-Image /RestoreHealth" `
  -Wait -NoNewWindow

# --- 6. Schedule CHKDSK on next boot ---
Write-Host "`n=== Scheduling CHKDSK on C: ==="
Start-Process -FilePath "chkdsk" -ArgumentList "C: /f /r /x" -Wait -NoNewWindow
# If prompted to schedule, this confirms it will run on reboot.

# --- 7. Check RAM with Windows Memory Diagnostic ---
Write-Host "`n=== Launching Windows Memory Diagnostic ==="
# This will prompt to restart - comment out if not ready
# Start-Process mdsched.exe

# --- 8. Check disk S.M.A.R.T. status ---
Write-Host "`n=== Disk S.M.A.R.T. Status ==="
Get-WmiObject -Namespace root\wmi -Class MSStorageDriver_FailurePredictStatus |
  Select-Object InstanceName, PredictFailure, Reason |
  Format-Table -AutoSize

# --- 9. List third-party kernel drivers (potential BSOD sources) ---
Write-Host "`n=== Third-Party Kernel Drivers Loaded ==="
Get-WmiObject Win32_SystemDriver |
  Where-Object { $_.PathName -notlike "*\System32\drivers\*" -and $_.State -eq "Running" } |
  Select-Object DisplayName, PathName, State |
  Format-Table -AutoSize

# --- 10. Check for unsigned drivers ---
Write-Host "`n=== Checking for Unsigned Drivers ==="
Start-Process -FilePath "sigverif.exe" -Wait

# --- 11. Driver Verifier - Enable (OPTIONAL - uncomment to use) ---
# WARNING: This WILL cause BSODs when a bad driver is found.
# Run 'verifier /reset' and reboot to disable after identifying culprit.
# verifier /standard /all

# --- 12. Bootrec commands for boot-related BSODs (run from WinRE) ---
# Uncomment and run from Windows Recovery Environment Command Prompt:
# bootrec /fixmbr
# bootrec /fixboot
# bootrec /scanos
# bootrec /rebuildbcd

Write-Host "`n=== Diagnostics Complete. Review output above and check C:\Windows\Minidump ==="
E

Error Medic Editorial

The Error Medic Editorial team is composed of senior DevOps engineers, SREs, and Windows kernel specialists with 10+ years of experience diagnosing system crashes, driver conflicts, and hardware failures in enterprise and consumer environments. Our guides are based on real minidump analysis, hands-on lab testing, and official Microsoft documentation. We cover everything from one-off BSODs to mass incident response like the CrowdStrike kernel driver outage.

Sources

Related Articles in Other Bsod

Explore More windows Guides