Error Unexpected Mm Extend Err 558 (0x22E): How to Fix it
Updating the driver and repairing system files can help with this error
3 min. read
Published on
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
ERROR_UNEXPECTED_MM_EXTEND_ERR is a rare error, but sometimes you might encounter it on your PC, and if that happens, this guide will show you the best ways to fix it.
How can I fix ERROR_UNEXPECTED_MM_EXTEND_ERR?
1. Update your drivers
- Press the Windows key + X and choose Device Manager.
- Next, locate your storage drivers. Right-click each of them and choose Update driver.
- Select Search automatically for updated driver software.
- Once all storage drivers are up to date, check if the issue is resolved.
Alternatively, you might want to manually update drivers by downloading them from the manufacturer’s website.
If you’re using third-party drivers installed by antivirus or backup software, try updating or disabling them.
2. Check for memory usage and test RAM
- Press Ctrl + Shift + Esc and look for processes that are using too much memory.
- If this happens, it means that the process has a memory leak.
- Try ending this process and check if that helps.
In addition, you might want to test your RAM by doing the following:
- Go to the MemTest website and download the USB installer.
- Run the software and install it on the empty flash drive.
- Boot the PC from the flash drive and let it scan your PC for a few hours.
- If an issue is detected, it means that one of your modules is faulty.
- Repeat the scan, but this time test modules individually until you find the faulty one.
3. Repair your system
- Press the Windows key + R and enter cmd. Select Run as administrator.
- Next, run the following commands. Keep in mind that each command might take up to an hour or so, so don’t interrupt them:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth - Once the scan is finished, check if the problem is resolved.
4. Check system logs
- Press the Windows key + X and choose Event Viewer.
- Next, go to Windows Logs and choose System or Application.
- Look for this error or any events that have preceded it.
- Analyze them and try to resolve them to fix the error.
5. Try performing a clean boot
- Press Windows key + R and enter msconfig.
- Go to Services and check Hide all Microsoft services. Next, choose Disable all.
- Click on Apply and OK but don’t restart your PC.
- Open Task Manager.
- Go to the Startup tab, and disable all startup applications.
- Next, restart your PC.
Once the PC restarts, check if the problem is still there. If not, enable services and applications until you find the cause of the problem.
6. Other steps to try
- Ensure that applications are properly handling memory-mapped files and large memory allocations.
- Add logging to capture any unexpected conditions.
- Ensure that APIs such as CreateFileMapping and MapViewOfFile are properly used.
- Use Process Monitor to get detailed system activity that led to this issue.
- Use WinDbg or Driver Verifier to analyze the file system and memory operations for problems.
ERROR_UNEXPECTED_MM_EXTEND_ERR isn’t a common issue, and you’ll most likely encounter it if you’re a developer.
We also wrote about ERROR_SYSTEM_PROCESS_TERMINATED and UNEXPECTED_INITIALIZATION_CALL in previous guides, so don’t miss them.
User forum
0 messages