This post will show you how to fix The memory could not be written error in Windows 11/10. It can happen if the system runs low on memory resources or other processes consume the available memory. At that time, if a program starts or there’s a program that requires more memory, the system cannot provide it, which in turn may cause this application error to appear. The error may appear for different applications like Flight simulator, VirtualBox, Widgets, File Explorer, and more. Here’s an error message that popped up on my desktop screen:
Widgets.exe – Application Error
The instruction at 0x00007FFCC90654A6 referenced memory at 0x00000000000000D0. The memory could not be written. Click on OK to terminate the program.
The error message can appear while using the system, playing a game, running a resource-intensive app or program, shutting down the PC without terminating the opened applications, etc. If you also received such an error on your Windows 11 system, use the solutions covered in this post to fix the error.
The memory could not be written error in Windows 11
Use these fixes to solve The memory could not be written error on your Windows 11/10 PC:
- Reinstall or repair the program
- Run CHKDSK utility
- Run the Windows Memory Diagnostic tool
- Change the Virtual Memory size
- Perform a System Restore.
1] Reinstall or repair the program
It’s one of the best fixes for resolving this error. Usually, when this memory could not be written error pops up related to a program or app, the name of that program is mentioned on the title bar of the error box. So, we know the problematic program already. If the error appears continuously, you should repair the program. This won’t affect the data of the program or app so the content will remain there. Here are the steps:
- Press Win+I to open the Settings app
- Navigate to Apps > Installed apps
- Click on the More options (three horizontal dots) for the program
- Select the Advanced options
- Press the Repair button in the Reset section and wait till the repairing process is completed
- Restart your PC.
If this doesn’t solve the problem, you should uninstall the program. After that, remove leftover files of the program, restart the PC, and re-install it.
2] Run CHKDSK utility
CHKDSK is a system tool in Windows OS that checks the file system of a drive or volume for logical errors (caused by file corruption, software, malware, improper shutdown, etc.) and physical errors. It also helps to fix errors on the disk, locate bad sectors on the disk and recover the readable information. So, if the problem is caused by file system errors, bad sectors, etc., then you should run the CHKDSK utility in your Windows system.
To run Check Disk using the command line, type the following and hit Enter:
chkdsk /f /r
- ChkDsk /f scans for and attempts to repair errors in the file system.
- ChkDsk /r includes /f, but it also scans the entire disk surface for physical errors and attempts to repair them as well.
If asked to, restart your computer and wait for the tool to run on reboot.
Read: Chkdsk cannot run because the volume is in use by another process
3] Run the Windows Memory Diagnostic Tool
If the memory could not be written error is caused by physical memory (or RAM) and is frequent, you should use the Windows Memory Diagnostic utility. It is a built-in feature of Windows OS that tests RAM for problems.
You can open and run the Windows Memory Diagnostic tool using the Search box, Run Command box, or other methods on your Windows PC. However, you must save all your work and close applications before you can begin the test, as a system restart is needed to use this tool.
The utility conducts a RAM test and thoroughly analyzes RAM for issues. Once the test is complete and the system is restarted, you will receive a result notification. If issues or errors are found in the result, you should call a professional or head to the official service center for the next step.
Read: Fix r5apex.exe Application error Memory could not be read
4] Change the Virtual Memory size
An Application Error can occur if the system is low on memory or all the available physical memory is consumed by other processes. In that case, virtual memory can come in handy.
The virtual memory feature frees up room in RAM by temporarily transferring some data to the hard disk space when RAM is full. We can’t change the size of physical memory but virtual memory easily. So, if the system runs low on virtual memory, you can change or increase Virtual Memory size to solve this error.
Type View advanced system settings in the Search box of Windows 11 and press enter to open the System Properties box. In the box, switch to the Advanced tab, and press the Settings button (for the Performance section). The Performance Options box will open. There, access the Advanced tab, and press the Change button for the Virtual Memory section. Uncheck the Automatically manage paging file size for all drives option. Now, you can adjust the size of virtual memory for the available volumes.
5] Perform a System Restore
If the issue started recently, you should perform a system restore. If you have created system restore points, select a restore point when your system works fine and complete the process.
I hope this helps.
How to fix The memory could not be read in Windows 11?
If you receive The memory could not be read error for igfxem.exe or IgfxEM (Intel Graphics Executable Main Module), update or reinstall your graphics card driver. If you still get the error, then run the System File Checker tool, update the Microsoft .NET Framework, and increase the size of the Page File.
How do I fix Memory error in Windows 11?
While working on your Windows 11 PC, you may encounter an error message saying Your computer is low on memory. This error may happen when unwanted background apps are running, drivers are outdated, or RAM is not working properly. To fix this memory error, identify and terminate the processes with high memory usage. Also, look for background apps or programs running unnecessarily and end those tasks. It would be best to run memory tests or upgrade your RAM to solve the problem.
Related Posts: