Sửa lỗi the memory could not be written năm 2024

Encountering the "Instruction at Referenced Memory Could Not Be Read or Write" error on your Windows 11 or Windows 10 system can be frustrating, especially when it occurs during shutdown, restarting, or even when launching applications. This error message displays something akin to "the instruction at 0x00000000 referenced memory at 0x00000000. The memory could not be read," Indicates potential issues ranging from software conflicts to hardware problems. In this comprehensive guide, we'll explore eight effective solutions to troubleshoot and resolve this vexing error.

1. Perform a Clean Boot

Sometimes, background processes or third-party applications can conflict with system operations, leading to memory-related errors. Performing a clean boot disables non-essential services and startup items, allowing you to isolate the problematic software. By gradually reintroducing applications and services, you can pinpoint the culprit and take appropriate action, such as updating or uninstalling the conflicting program

  • Press Windows Key + R to open the Run dialog box.
  • Type "msconfig" and press Enter to open the System Configuration utility.
  • In the System Configuration window, go to the Services tab and check the box next to "Hide all Microsoft services."
  • Click Disable all to disable non-essential services.
  • Go to the Startup tab and click Open Task Manager.
  • Disable startup items one by one and restart your computer to identify the conflicting application.

2. Run System File Checker (SFC) and DISM

Corrupt or missing system files can contribute to memory-related errors. Running the System File Checker (SFC) utility scans and repairs corrupted system files, ensuring the integrity of your Windows operating system. Additionally, utilizing the Deployment Image Servicing and Management (DISM) tool alongside SFC can further enhance system stability by restoring the Windows image and resolving underlying issues.

  • Open Command Prompt as an administrator by searching for it in the Start menu, right-clicking it, and selecting Run as administrator.
  • Type "sfc /scannow" and press Enter.
  • Wait for the scan to complete and follow any on-screen instructions to repair corrupted system files.

3. Check Disk for Errors

File system corruption or disk issues can exacerbate memory-related errors. Running the Check Disk (CHKDSK) utility helps identify and repair file system errors, bad sectors, and other disk-related issues. By ensuring the integrity of your hard drive, you can mitigate the risk of encountering memory errors caused by underlying disk problems.

  • Open Command Prompt as an administrator.
  • Type "chkdsk C: /f /r" (replace C: with the drive letter you want to check) and press Enter.
  • Confirm the disk check and restart your computer if prompted.

4. Perform a Memory Diagnostic Check

Faulty RAM modules are a common culprit behind memory-related errors. Running a memory diagnostic check allows you to identify defective RAM modules by testing their integrity and functionality. If the diagnostic tool detects any errors, you can take appropriate measures, such as replacing the faulty RAM module, to resolve the issue and restore system stability.

  • Search for "Windows Memory Diagnostic" in the Start menu and open it.
  • Choose "Restart now and check for problems" to start the memory diagnostic.
  • Wait for the diagnostic tool to complete testing and restart your computer to view the results.

5. Adjust Virtual Memory Settings

Insufficient virtual memory allocation can contribute to memory-related errors on Windows systems. By adjusting virtual memory settings, you can provide additional space for the operating system to utilize as memory, reducing the likelihood of encountering memory-related issues. Properly configuring virtual memory ensures optimal system performance and helps prevent memory errors.

  • Right-click on This PC or My Computer and select Properties.
  • Click on Advanced system settings.
  • In the System Properties window, go to the Advanced tab and click on Settings under the Performance section.
  • Navigate to the Advanced tab in the Performance Options window and click on Change under Virtual memory.
  • Uncheck Automatically manage paging file size for all drives and select Custom size.
  • Set the initial and maximum size based on your system's recommendations or your preferences.

6. Scan for Malware

Malware infections can disrupt system processes and lead to memory-related errors. Performing a thorough malware scan using reputable antivirus software helps detect and remove malicious software from your system. By eliminating potential sources of interference, you can mitigate the risk of encountering memory errors caused by malware infections.

  • Open your preferred antivirus software or Windows Security.
  • Initiate a full system scan to detect and remove any malware or viruses.

7. Utilize System Restore

If the "Instruction at Referenced Memory" error started occurring after a recent change or update, performing a System Restore can help revert your system to a previous state where it was functioning correctly. This feature allows you to undo recent changes and restore system stability, effectively resolving the error and restoring your computing experience.

  • Type "System Restore" in the Start menu search bar and select Create a restore point.
  • In the System Properties window, click on System Restore.
  • Follow the on-screen instructions to choose a restore point and restore your system to a previous state.

8. Resolve Software and Driver Conflicts

Conflicts between software applications or drivers can contribute to system instability and memory-related errors. Identifying and resolving such conflicts by updating or uninstalling problematic software helps alleviate the issue. By ensuring that all software components are compatible and properly configured, you can minimize the risk of encountering memory errors on your Windows system.