Fix: The Instruction at 0x000000000 Referenced Memory

Check our verified solutions for a quick fix

by Kazim Ali Alvi
Kazim Ali Alvi
Kazim Ali Alvi
Author
Kazim has always been fond of technology, be it scrolling through the settings on his iPhone, Android device, or Windows. And at times, unscrewing the device to take... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • The memory could not be written error prevents users from running apps or, in some cases, even shutting down the computer.
  • The problem arises due to corrupt system files, memory issues, or issues with the app itself.
  • To fix things, install the latest Windows update, reinstall the affected application, or increase the virtual memory, amongst other solutions.
Fix the instruction at 0x000000000 referenced memory at 0x00000000 the memory could not be written error
XINSTALL BY CLICKING THE DOWNLOAD FILE
Fix Windows 11 OS errors with Fortect: This tool repairs common computer errors by replacing the problematic system files with the initial working versions. It also keeps you away from system errors, BSoDs, and repairs damages made by malware and viruses. Fix PC issues and remove viruses damage now in 3 easy steps:
  1. Download and Install Fortect on your PC
  2. Launch the tool and Start scanning to find broken files that are causing the problems
  3. Right-click on Start Repair to fix issues affecting your computer’s security and performance
  • Fortect has been downloaded by 0 readers this month.

We often see apps not opening, and the message accompanying the issue lists the underlying cause and helps with the troubleshooting. But that doesn’t always work, as is the case with The instruction at 0x000000000 referenced memory at 0x00000000. The memory could not be written error.

The referenced memory could not be written error can be encountered while launching programs, running games or graphics-intensive apps, or even shutting down the PC. Keep reading to find out all about it!

Why reference memory could not be written?

The error states that the address where the critical information is stored on the RAM is inaccessible to the software, or changes can’t be made to it. The problem can arise due to hardware and software issues, though it’s generally the latter to blame.

Here are a few reasons you get the error:

  • Issues with the RAM: There’s a good chance that high RAM usage or issues with the memory module is triggering the error.
  • Corrupt system files: For a few users, it was the corrupt system files that led to the problem, and replacing these did the trick.
  • Problems with the app files: When the problem was limited to a specific app, it could be missing or corrupt files for that app to blame.
  • Outdated graphics drivers: In some cases, users reported that an outdated graphics driver led to The instruction at 0x000000000 referenced memory at 0x00000000. The memory could not be written error.

How do I fix the instruction at referenced memory could not be written error?

Before we move to the slightly complex ones, here are a few quick tricks to try:

  • Restart the computer, in case it’s the high-resource consumption to blame.
  • Check for Windows updates and install any available ones. Then, verify whether the memory could not be written error in Windows 11 is fixed.
  • Disable any third-party antivirus or security software installed on the PC.
  • Make sure you don’t have the taskbar hidden in Windows. Though strange, unhiding the taskbar did do the trick for a few users.

If none work, head to the fixes listed next.

1. Run the DISM and SFC scans

  1. Press Windows + R to open Run, type cmd, and then hit Ctrl + Shift + Enter.cmd
  2. Click Yes in the UAC prompt.
  3. Paste the following commands individually and then hit Enter after each for DISM:DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth
  4. Now, run the following command for the SFC scan:sfc /scannowsfc scan to fix the instruction at 0x000000000 referenced memory at 0x00000000 the memory could not be written
  5. Once done, restart the computer for the changes to apply.

For cases when it’s the corrupt system files to blame for the error, the easiest solution is to run the DISM tool and SFC scan.

These will replace the corrupt files with the cached copy stored on the PC and get rid of The instruction at 0x000000000 referenced memory at 0x00000000. The memory could not be written error.

Moreover, you can try dedicated third-party repair software to make sure you erase not only corrupt system files but other Windows stability issues as well.

2. Update the graphics driver

  1. Press Windows + X to open the Power User menu, and select Device Manager.device manager
  2. Expand the Display adapters entry, right-click on the graphics adapter, and then select Update driver.update driver to fix the instruction at 0x000000000 referenced memory at 0x00000000 the memory could not be written
  3. Now, choose Search automatically for drivers and wait for Windows to install the best one available locally.search automatically for drivers

A corrupt, incompatible, or outdated one can trigger a range of errors, and updating the graphics driver will take care of it all. Besides, if Windows can’t find one locally, you can always manually install the latest driver from the manufacturer’s website.

3. Increase the virtual memory

  1. Press Windows + S to open Search, type View advanced system settings, and click on the relevant search result. system settings
  2. In the Advanced tab, click on Settings.settings to fix the instruction at 0x000000000 referenced memory at 0x00000000 the memory could not be written
  3. Now, navigate to the Advanced tab, and then click on Change under Virtual memory.change
  4. Untick the checkbox for Automatically manage paging file size for all drives, select No paging file, and click Set.manually set paging file
  5. Now, choose Custom size and enter the paging file size based on the available RAM using the following formula:
    1. Initial size: 1.5 x (Physical RAM in MB)
    2. Maximum size: 3 x (Physical RAM in MB)custom size to fix the instruction at 0x000000000 referenced memory at 0x00000000 the memory could not be written
  6. For instance, if the physical RAM is 4 GB, the initial and maximum sizes become 6144 MB (1.5 x 4 x 1042) and 12288 MB (3 x 3 x 1024), respectively.
  7. Once done, click Set and OK to save the changes.save changes

Expert tip:

SPONSORED

Some PC issues are hard to tackle, especially when it comes to missing or corrupted system files and repositories of your Windows.
Be sure to use a dedicated tool, such as Fortect, which will scan and replace your broken files with their fresh versions from its repository.

When running out of RAM, a quick solution is to increase the virtual memory in Windows. This is a part of the disk that acts as RAM by temporarily storing files. While it functions the same way as the RAM, it’s not as fast. So adding virtual memory can’t be a permanent solution.

4. Reinstall the app

  1. Press Windows + I to open Settings, go to Apps from the navigation pane, and click on Installed apps.installed apps
  2. Click on the ellipsis next to the app throwing the error, and select Uninstall.uninstall to fix the instruction at 0x000000000 referenced memory at 0x00000000 the memory could not be written
  3. Again, click Uninstall to confirm the change.uninstall
  4. Once done, restart the computer, then download the app from an official source, say the developer’s website or Microsoft Store.

As pointed out on many forums, the error also appears due to an improper app installation or missing files. And in this case, uninstalling the program and getting it from scratch does the trick.

Also, for users getting The instruction at 0x000000000 referenced memory at 0x00000000. The memory could not be written error with Firefox, downloading the 32-bit version of the browser works.

5. Perform a system restore

  1. Press Windows + R to open Run, type rstrui.exe in the text field, and click OK.rstrui.exe
  2. Select Choose a different restore point, and click Next.choose different restore point
  3. Now, select a restore point, one created before the error first appeared, and click Next.restore to fix the instruction at 0x000000000 referenced memory at 0x00000000 the memory could not be written
  4. Verify the restore details, and click Finish to start the process.system restore to fix the instruction at 0x000000000 referenced memory at 0x00000000 the memory could not be written

In case the previous solutions didn’t help, you could perform a system restore and revert any recent changes on the PC that might be triggering the error. This will get rid of any software-related issues.

6. Check for memory issues

When nothing works, it could be a memory-related problem that leads to the error. For that, we have the built-in Windows Memory Diagnostic to help identify and eliminate common problems with the RAM.

Also, for a more comprehensive scan, you can use Memtest86+, an open-source memory testing tool that finds even the minutest and most complex issues with the RAM.

Since the tool takes a few hours, it’s best to run it overnight. And if any problems are found, replace the affected RAM module.

By now, you should have fixed The instruction at 0x000000000 referenced memory at 0x00000000. The memory could not be written error encountered when running apps.

Before you leave, check some quick tips to make Windows faster than ever.

Tell us which fix worked for you in the comments section below.

Still experiencing issues?

SPONSORED

If the above suggestions have not solved your problem, your computer may experience more severe Windows troubles. We suggest choosing an all-in-one solution like Fortect to fix problems efficiently. After installation, just click the View&Fix button and then press Start Repair.

This article covers:Topics: