6 Ways to Fix the Instruction at 0x00007ff Referenced Memory

Run Windows scans to fix yet another hindering memory issue

Reading time icon 6 min. read


Readers help support Windows Report. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help Windows Report effortlessly and without spending any money. Read more

Key notes

  • The instruction at 0x00007ff is a RAM-related error associated with system or third-party applications.
  • This memory error can often be fixed with dedicated tools to repair the corrupted files.
  • Another great idea is to scan your computer for malware in search of possible threats, as described below.
fix the instruction at 0x00000 referenced memory error in Windows

Windows users have to deal with several errors, and the instruction at 0x00007ff is one of them. The error can be encountered with several built-in and third-party programs.

It usually means that an application couldn’t read the assigned physical memory. This article also tackles the instruction at 0x00007ff referenced memory error.

Why am I getting The instruction at 0x00007ff referenced memory error?

This error often implies that the allotted physical memory could not read a program’s contents. It has been determined that malicious software, corrupted system files, and incompatible third-party programs are all potential causes of the 0x00007ff referenced memory error.

Here are a few error variations you may come across:

  • The instruction at 0x00007ff referenced memory at 0x00000. The memory could not be written – This issue can be caused by a corrupt or damaged system registry file.
  • The instruction at 0x00000000 referenced memory at 0x00000000. The memory could not be read – Occurring mostly because of a corrupt driver or the inability of the system to access the HDD.
  • The instruction at referenced memory could not be read – Even though it can be solved by following the same suggestions, it is most likely caused by an issue with your HDD.
  • The instruction at referenced memory could not be written – This problem occurs when your system identifies the fact that the HDD can not be accessed, either caused by access restriction or if the drive is not correctly inserted into the motherboard.
  • The instruction at 0x00007ff referenced memory could not be written – In this case the issue can be caused either by a corrupted drive, or third-party software that’s blocking access.
  • The instruction at 0x00000 referenced memory on shutdown – Appears when the Explorer.exe process accesses memory that has already been freed during the shutdown process.
  • The memory could not be read – With the error, you should look closely at the hard drive, which may be damaged or faulty.
  • The instruction at 0x00007ff referenced memory could not be read – Damaged or corrupted registry files also trigger this error.
  • The instruction at 0x00 referenced memory: Appears when running low on RAM or if there are issues with the disk.

How can I test my RAM?

There are several ways to test the installed RAM on the computer, but the simplest would be to run Windows Memory Diagnostic, a tool that comes bundled with the OS.

Also, several third-party tools perform extensive tests on the RAM, MemTest86 being one of them.

How do I fix The Instruction at 0x00007ff referenced memory error?

Before you proceed to the solutions aimed at eliminating the underlying cause, here are a few simple ones that should get things running:

  • Click OK on the error message and try rerunning the program. In some cases, you shouldn’t encounter the error anymore.
  • Restart the computer.
  • Check the connections to the Hard Disk and Motherboard, and verify that the RAM has been properly seated (in case you use a laptop still within the warranty period, we won’t recommend opening it).
  • Check for any available Windows updates and install them.

If none of these worked, let’s start with the other solutions.

1. Run SFC & DISM scan

  1. Go to Start, type cmd, and then click on Run as administrator to start Command Prompt.
  2. Now, paste the following command and then hit Enter: sfc /scannowsfc cmd the instruction at referenced memory windows 10
  3. Wait for the process to be completed.
  4. Next, execute the following command:DISM /Online /Cleanup-Image /RestoreHealth
  5. Once done with both SFC and DISM, run the Check Disk utility with the following command:Chkdsk /r

Once done, verify if The instruction at 0x00000 referenced memory error with Elden Ring or other games is fixed.

Alternatively, you can use proactive PC cleaning tools to repair corrupt system files in the Windows registry.

2. Disable the Automatically hide the taskbar feature

  1. Press Windows + I to open Settings, and then select Personalization.personalization
  2. Click on Taskbar on the right.Taskbar
  3. Click to expand the Taskbar behaviors section.taskbar behaviours
  4. Uncheck the Automatically hide the taskbar option.disable to fix the instruction at 0x00000 referenced memory

3. Perform a clean boot and install the .NET framework

A clean boot also helps identify the underlying cause. So, if you are not encountering the instruction at 0x00007ff error anymore, it’s likely a driver, service, or startup app you disabled earlier behind it.

1.  Press Windows + R to open Run, type msconfig, and hit Enter.

msconfig mouse jumping around windows 10

2. Navigate to the Services tab, check the Hide all Microsoft services box, and then click on Disable all.

disable all

3. Now, navigate to the Startup tab, and then click on Open Task Manager.

Open task manager

4. Locate all the programs where Enabled is listed under the Status column, select them individually, and then click on Disable.

disable

5. Click OK in the System Configuration window.

OK

6. Click Restart in the prompt that appears.

7. You can now install the .NET Framework.

Again, open the System Configuration window, and enable the services and startup programs one at a time, until the error reappears. Whatever you enabled last is the root cause here. So make sure to either uninstall or disable it.

4. Allocate more virtual memory

  1. In the Search bar, type Advanced, and then open View advanced system settings.view advanced system settings to fix the instruction at 0x00000 referenced memory
  2. Click on Settings under Performance.Settings
  3. Navigate to the Advanced tab, and click on Change under Virtual Memory.change
  4. Uncheck the Automatically manage paging file size for all drives option and then select Custom.custom size to fix the instruction at 0x00000 referenced memory
  5. Now, enter the following values in the two text fields based on the installed RAM in the computer:
    • Initial Size (MB): 1.5 x Total installed RAM
    • Maximum Size (MB): 3 x Total installed RAMenter values
  6. For instance, if your computer has 8 GB RAM, the Initial Size becomes 12,288 (1.5 x 8 x 1024), and the Maximum Size becomes 24,576 (3 x 8 x 1024).
  7. Once done, click on OK at the bottom to save the changes.ok

That’s it! Now, restart the computer for the changes to come into effect, and verify if The instruction at 0x00000 referenced memory error is fixed.

5. Scan for malware

  1. Download Malwarebytes Adwcleaner, and install it on your system.
  2. Open the program by right-clicking the icon and then selecting the Run as administrator option.run as administrator
  3. Select the Scan option to commence the scanning operation.
  4. After the scan, select the Clean & Repair option.scan for pups with malwarebytes the instruction at referenced memory windows 10
  5. After the cleanup, shut down your system and restart it.

⇒ Get Malwarebytes Adwcleaner

6. Reset the system

  1. Press Windows + I to open Settings, and then click on Recovery on the right in the System tab.recovery
  2. Click on the Reset PC button.reset pc to fix the instruction at 0x00000 referenced memory
  3. Choose either of the two options here. We recommend you select Remove everything since that’s a more effective reset.choose
  4. Click on Local reinstall.local reinstall
  5. Verify the reset settings and then click on Next.verify details
  6. Finally, click on Reset to start the process.reset

Alternatively, you should scan your RAM for errors and ensure that your PC meets the system requirements for the affected app or game that throws the error.

Windows 10 system requires at least 1 GB of RAM, but ideally, you would go for at least 2 GB, while for Windows 11, it’s 4 GB minimum and 8 GB recommended. You can also opt to use a RAM cleaner so you free up some more space.

If you have any other solutions for the instruction at 0x00007ff error, leave them in the comments section below. They might help your fellow users in trouble.

More about the topics: Computer Memory