TechBuzzPro

Windows Photo Viewer Memory Error: Fix It Now

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can fix the “Windows Photo Viewer not enough memory” error. This typically happens when trying to open very large image files, or when the viewer is struggling with a high volume of images, often due to insufficient RAM or a corrupted cache. The simplest fix is to restart your computer; if that doesn’t work, try clearing the viewer’s cache or increasing the virtual memory.

What You'll Need

  • Nothing specific is needed for most of these steps. You'll be using built-in Windows tools.

Step-by-Step

  1. Restart Your Computer: This is the first and often easiest solution. A simple restart can clear temporary files and reset system processes, potentially resolving the memory issue. Close all open applications and then restart your computer.
  2. Increase Virtual Memory (Page File): Windows uses virtual memory to supplement RAM. If your system doesn't have enough physical RAM, it uses a portion of your hard drive as virtual memory. Increasing this can help. To do this: Press the Windows key, type “Advanced System Settings,” and select “View advanced system settings.” In the System Properties window, under “Performance,” click “Settings.” Go to the “Advanced” tab and click “Change” under “Virtual memory.” Uncheck “Automatically manage paging file size for all drives.” Select the C: drive (or the drive where Windows is installed) and choose “Custom size.” Set the “Initial size” and “Maximum size” to values larger than the recommended size (typically 1.5 to 3 times your RAM). Click “Set” and then “OK.” You'll likely need to restart your computer for the changes to take effect.
  3. Clear Windows Photo Viewer Cache: The Photo Viewer stores temporary files to speed up image loading. A corrupted cache can cause memory errors. Unfortunately, Windows Photo Viewer doesn’t have a direct cache-clearing option. However, you can delete the temporary files manually. Navigate to C:\[User Name]\[AppData]\[Local]\[Microsoft]\[Windows Photo Viewer]. (Note: AppData is a hidden folder. You may need to enable “Show hidden files and folders” in File Explorer’s View options.) Delete all files within this folder.
  4. Update Your Graphics Drivers: Outdated or corrupted graphics drivers can sometimes cause compatibility issues and memory errors. Visit the website of your graphics card manufacturer (Nvidia, AMD, or Intel) and download the latest drivers for your specific graphics card and operating system. Install the drivers and restart your computer.
  5. Run the System File Checker (SFC): SFC scans and repairs corrupted system files. To run SFC: Open Command Prompt as an administrator (search for “cmd,” right-click, and select “Run as administrator”). Type sfc /scannow and press Enter. The scan may take some time. Follow any on-screen instructions.
  6. Disable Hardware Graphics Acceleration (as a test): In some cases, hardware acceleration can cause conflicts. To disable it (temporarily, for testing purposes): Open Internet Explorer (even if you don’t use it regularly, as this setting affects Photo Viewer). Go to Tools > Internet Options. Click the Advanced tab. Scroll down to the “Display” section and uncheck “Use hardware graphics acceleration.” Restart your computer. If this resolves the issue, it suggests a problem with your graphics card or drivers. Re-enable it later if you prefer.
  7. Check for Malware: Malware can consume system resources and cause various errors, including memory issues. Run a full system scan with your antivirus software.

Common Mistakes

A common mistake is attempting to open extremely large image files (e.g., very high-resolution panoramas) without sufficient RAM. While increasing virtual memory can help, it's not a substitute for having enough physical RAM. Another mistake is deleting files from the wrong folder. Be absolutely certain you are deleting files from the correct Windows Photo Viewer cache folder, as deleting files from other system folders can cause problems. Finally, incorrectly configuring virtual memory settings can lead to system instability. Double-check the settings before clicking “Set” and remember to restart your computer.

Tips

Consider upgrading your computer's RAM if you frequently work with large image files. 8GB of RAM is generally considered the minimum for modern Windows systems, and 16GB or more is recommended for photo editing and other memory-intensive tasks. Regularly defragmenting your hard drive (if you're not using an SSD) can also improve performance and reduce memory fragmentation. Also, avoid running too many applications simultaneously, as this can strain your system's resources. If you consistently encounter this error, consider using a different image viewer that is more efficient with memory, such as IrfanView or XnView.

Troubleshooting

If increasing virtual memory and clearing the cache doesn't work, the problem might be with your graphics card or drivers. Try updating or reinstalling your graphics drivers. If you recently updated your drivers and started experiencing this issue, consider rolling back to a previous version. If the problem persists after trying all these steps, there might be a more serious underlying issue with your operating system or hardware. Running a memory diagnostic test can help identify potential RAM problems. You can access the Windows Memory Diagnostic tool by searching for “Windows Memory Diagnostic” in the Start menu. Finally, as a last resort, consider performing a system restore to a point before the issue started. This will revert your system files and settings to a previous state, but be aware that it might also undo any recent changes you've made.

Frequently Asked Questions

Can a virus cause this error?

Yes, malware can consume system resources and lead to memory errors, including the one you're experiencing. Run a full system scan with your antivirus software to rule out this possibility.

Does increasing virtual memory always fix the problem?

Increasing virtual memory can often help, especially if you don't have enough physical RAM. However, it’s not a guaranteed fix, and it’s not a substitute for having sufficient RAM. It’s best used as a temporary solution or for systems with limited RAM.

How do I know if my graphics drivers are up to date?

The easiest way is to visit the website of your graphics card manufacturer (Nvidia, AMD, or Intel) and download the latest drivers for your specific card and operating system. Alternatively, you can use Windows Update, although it may not always offer the latest drivers.

I’ve tried everything, and it still doesn’t work. What should I do?

If you've exhausted all the troubleshooting steps, there might be a more serious underlying issue with your hardware or operating system. Consider contacting a computer technician or reinstalling Windows as a last resort.

Is it safe to delete files from the Windows Photo Viewer cache folder?

Yes, it is generally safe to delete files from the Windows Photo Viewer cache folder. These are temporary files used to speed up image loading, and deleting them won't affect your photos or other data. However, ensure you're deleting files from the correct folder to avoid accidentally deleting important system files.