Fixing ‘The Memory Could Not Be Written’ Error in Windows 11

Fixing ‘The Memory Could Not Be Written’ Error in Windows 11

This article will guide you in resolving the The memory could not be written error in Windows 11/10. This issue can occur when the system experiences a shortage of memory resources, or when other applications are consuming available memory. Consequently, if a new application is launched or one that demands more memory is active, the system may fail to allocate the necessary resources, leading to this error message. Various programs, such as Flight Simulator, VirtualBox, Widgets, and File Explorer, may experience this error. Here’s an example of an error notification that appeared on my laptop 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 memory could not be written

This error can surface during various activities such as gaming, using resource-demanding applications, or even when shutting down the computer while other programs are still running. If you’ve encountered this error on your Windows 11 device, follow the solutions detailed in this article to rectify the issue.

Resolving The Memory Could Not Be Written Error in Windows 11

Here are some effective solutions for addressing the “The memory could not be written”error on your Windows 11/10 computer:

  1. Repair or reinstall the affected program
  2. Use the CHKDSK utility
  3. Run the Windows Memory Diagnostic tool
  4. Adjust the Virtual Memory settings
  5. Conduct a System Restore.

1] Repair or Reinstall the Program

repair or reinstall program

This approach is often one of the most effective ways to resolve the error. Typically, when the memory error occurs in relation to a specific application, the name of that application will appear in the error notification’s title bar, allowing you to identify the problematic software. If the issue continues, try repairing the application, as this will not compromise the data associated with it. Here is how to do it:

  1. Press Win+I to launch the Settings application
  2. Go to Apps > Installed apps
  3. Locate the program and click on the More options icon (three horizontal dots)
  4. Choose Advanced options
  5. Hit the Repair button within the Reset section and wait for the process to complete
  6. Restart your computer.

If the issue persists, consider uninstalling the software, clearing any residual files, rebooting your PC, and reinstalling the application.

2] Use the CHKDSK Utility

CHKDSK is a built-in utility in Windows that examines the file system of a drive for both logical (due to corruption, improper shutdown, etc.) and physical errors. It can also rectify disk errors, identify bad sectors, and recover readable data. If your issue is related to file system errors or bad sectors, running CHKDSK could be beneficial.

run chkdsk

To execute CHKDSK via the command line, input the following command and press Enter:

chkdsk /f /r

  • ChkDsk /f looks for and repairs file system errors.
  • ChkDsk /r adds to /f by scanning the entire disk for physical faults and attempting to fix them.

If prompted, restart your computer to allow the tool to run during boot-up.

3] Use the Windows Memory Diagnostic Tool

Windows Memory Diagnostics Tool

If the “memory could not be written”error is frequently linked to your physical memory (RAM), it’s advisable to use the Windows Memory Diagnostic tool. This built-in utility tests your RAM for potential issues.

You can access and execute the Windows Memory Diagnostic tool through the Search box, the Run Command interface, or other methods available on your Windows PC. Ensure that you save your work and close any running applications prior to initiating the test, as a system restart will be necessary.

This utility conducts a thorough examination of your RAM and once completed, you will receive a notification regarding any issues detected. If errors are reported, consider consulting a professional or visiting an official service center for assistance.

4] Modify the Virtual Memory Size

change virtual memory size

An Application Error can manifest when there is insufficient memory or when all available physical memory is consumed by running applications. In such scenarios, virtual memory can be convenient.

Virtual memory allows the system to free up RAM by temporarily moving certain data to hard disk space when RAM is filled to capacity. Although physical memory size is fixed, virtual memory can be adjusted. To rectify the error stemming from limited virtual memory, it’s possible to increase or modify its size.

To do this, enter ‘View advanced system settings’ in the Windows 11 search box and press Enter to open the System Properties dialog. In this window, navigate to the Advanced tab, then click the Settings button within the Performance section. This will bring up the Performance Options dialog. From there, go to the Advanced tab and click on the Change button in the Virtual Memory section. Deselect the Automatically manage paging file size for all drives option, which will enable you to modify the virtual memory size for each available volume.

5] Execute a System Restore

perform system restore

If this problem began recently, performing a system restore may help. If you have previously set restore points, select one dated when your system was functioning correctly and proceed with the restoration process.

I trust these solutions will be helpful to you.

How Can I Fix The Memory Could Not Be Read Error in Windows 11?

If encountering the “Memory could not be read”error linked to igfxem.exe or IgfxEM (Intel Graphics Executable Main Module), update or reinstall your graphics driver. Should the error persist, it’s wise to run the System File Checker tool, update the Microsoft. NET Framework, and consider increasing the Page File size as potential solutions.

How Do I Resolve Memory Errors in Windows 11?

When operating your Windows 11 PC, you might receive a notification stating that your computer is low on memory. This issue may be triggered by unnecessary background applications, outdated drivers, or malfunctioning RAM. To address this memory error, identify and terminate processes that are consuming excessive memory. Additionally, check for background applications that may be running without reason and close them. Running memory tests or upgrading your RAM may also be effective solutions.

    Source

    Leave a Reply

    Your email address will not be published. Required fields are marked *