Fix Windows Memory Management Error – Step‑by‑Step Guide
In this article
Yes – you can repair a Windows memory‑management error by running built‑in diagnostics, updating drivers, checking system files, and, if necessary, testing the RAM modules themselves.
What You’ll Need
- A Windows PC with administrator rights
- Internet connection for driver and Windows updates
- Optional: a USB flash drive (at least 2 GB) for the MemTest86 bootable tester
Step‑by‑Step
- Restart the computer. A simple reboot clears temporary memory allocations and often resolves a one‑time glitch that triggered the error.
- Run Windows Memory Diagnostic. Press Win+R, type
mdsched.exe, and press Enter. Choose “Restart now and check for problems”. The tool will run a basic test during the next boot and report any failures. - Install all pending Windows updates. Open Settings > Update & Security > Windows Update (labels may vary slightly by version) and click “Check for updates”. Install any available quality or feature updates, then restart.
- Update device drivers, especially graphics and chipset. Open Device Manager (right‑click the Start button > Device Manager). Right‑click each major device, select “Update driver”, then “Search automatically for updated driver software”. Restart after updates.
- Run System File Checker. Open an elevated Command Prompt (right‑click Start > Command Prompt (Admin) or Windows PowerShell (Admin)). Type
sfc /scannowand press Enter. Wait for the scan to finish; it will automatically repair corrupted system files. - Repair the component store with DISM. In the same elevated command window, execute
DISM /Online /Cleanup‑Image /RestoreHealth. This step fixes deeper corruption that SFC might miss. - Check the page‑file settings. Right‑click This PC**, select **Properties**, then **Advanced system settings**. Under **Performance**, click **Settings**, go to the **Advanced** tab, and click **Change** under Virtual memory. Ensure “Automatically manage paging file size for all drives” is checked, or set a custom size (minimum 1.5 × RAM, maximum 3 × RAM).
- Perform a clean boot. Press Win+R, type
msconfig, and press Enter. In the **Services** tab, check “Hide all Microsoft services” and then click **Disable all**. In the **Startup** tab, open **Task Manager** and disable all startup items. Restart and see if the error persists – this isolates third‑party software conflicts. - Examine Event Viewer for details. Press Win+X, choose **Event Viewer**, expand **Windows Logs > System**, and look for entries marked “Error” or “Critical” around the time the memory‑management error appeared. Note any driver or hardware source IDs; they guide further action.
- Run a thorough RAM test with MemTest86. Download the free ISO from the official site, use a tool like Rufus to create a bootable USB, then boot from it. Let the test run at least two full passes (several hours). Any reported failures indicate a defective memory module that must be replaced.
- Consider a Windows reset or reinstall. If all software‑level fixes fail and MemTest86 shows no hardware errors, open **Settings > Update & Security > Recovery** and choose “Reset this PC”. Keep your files if you want, but be aware that a clean install removes all third‑party software and may finally clear a deep‑seated corruption.
Common Mistakes
- Skipping the built‑in Memory Diagnostic and jumping straight to third‑party tools, which can miss simple OS‑level issues.
- Disabling automatic Windows updates in an attempt to avoid restarts; missing patches often contain fixes for memory‑management bugs.
- Deleting or renaming system files manually instead of using
sfc /scannowor DISM, which can cause additional instability. - Running MemTest86 on a laptop without removing the battery or disabling fast‑boot, leading to incomplete test cycles.
- Assuming the error is always hardware‑related; many occurrences are caused by outdated drivers or corrupted system files.
Tips
- Keep your BIOS/UEFI firmware up to date – manufacturers often release memory‑compatibility updates.
- Avoid overclocking RAM unless you have verified stability with extended MemTest86 runs.
- Regularly clean dust from RAM slots and heatsinks; poor contact can mimic memory errors.
- Use the “Windows Memory Diagnostic” after any major driver update; it’s quick and catches issues introduced by the new driver.
- Document error codes (e.g., 0x00000123) from Event Viewer; a quick web search often reveals known Windows patches.
Troubleshooting
If the error persists after completing the steps above, follow this escalation path:
- Reseat the RAM modules. Power down, unplug, open the case, and gently remove each stick. Re‑insert them firmly, ensuring the clips click into place.
- Test each stick individually. Run MemTest86 with only one module installed at a time. Identify a faulty stick and replace it.
- Swap slots. A bad DIMM slot can cause the same symptoms. Move the working module to a different slot and retest.
- Check for motherboard memory‑type compatibility. Verify that the installed RAM matches the speed and voltage specifications listed in the motherboard manual.
- Consult the manufacturer’s support. If the hardware is under warranty, open a ticket and provide the MemTest86 logs; they may replace the defective component.
Frequently Asked Questions
What does the “Memory Management” stop error mean?
It indicates that Windows detected a critical problem while handling virtual memory, often caused by faulty RAM, buggy drivers, or corrupted system files.
Can I fix the error without reinstalling Windows?
Yes – most cases are resolved by updating drivers, running SFC/DISM, and testing the RAM. Reinstallation is a last resort when software fixes fail.
Is MemTest86 safe to use on a laptop with an SSD?
MemTest86 runs entirely from the USB boot media and does not write to the internal drive, so it is safe for SSDs and does not affect data.
How many passes should I run in MemTest86?
At least two full passes (each pass cycles through all test patterns). For borderline cases, four or more passes give higher confidence.
Will disabling fast startup help?
Disabling fast startup forces a full shutdown, which can clear lingering memory state that sometimes triggers the error. You can turn it off in Settings > Power & Sleep > Additional power settings.