Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Photoshop Save for Web Not Enough Memory Error

· 5 min read · Home Tech

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

If Photoshop throws a "Not enough memory" error when you use Save for Web, it usually means the feature can't allocate enough RAM to compress the image. The quickest fix is to close other programs, then increase Photoshop's memory allocation in Preferences > Performance. If that doesn't work, clearing the scratch disk or resetting Photoshop's preferences usually resolves it. Below are the exact steps, plus what to do if the error persists.

What You'll Need

  • Administrator access to your computer (to change system settings if needed)
  • At least 10–15 minutes of free time
  • Your Photoshop document saved as a PSD (so you can safely reset preferences without losing work)

Step-by-Step

  1. Save your work and close other programs. Photoshop needs RAM, and other open apps (especially browsers, video editors, or virtual machines) eat it up. Save your PSD, then close every non-essential program.
  2. Restart Photoshop. This clears temporary memory leaks. After restarting, try File > Save for Web again. If it works, you're done—the error was likely a temporary memory bloat.
  3. Increase Photoshop's memory usage. Go to Edit > Preferences > Performance (Windows) or Photoshop > Preferences > Performance (Mac). Under Memory Usage, drag the slider to increase the amount of RAM Photoshop can use. A safe value is 70–85% of your total RAM, but leave enough for the OS. Click OK and restart Photoshop for the change to take effect.
  4. Change the scratch disk. In the same Performance preferences, look for Scratch Disks. Make sure a drive with plenty of free space (like an SSD with at least 20 GB free) is checked and set as the first scratch disk. Avoid using the system drive (C: on Windows) if it's nearly full. Click OK and restart Photoshop.
  5. Clear the clipboard and history. If you've copied large selections, the clipboard can hold massive data. Go to Edit > Clear (Windows) or Photoshop > Clear (Mac) to empty the clipboard. Also, in the History panel (Window > History), click the trash icon to clear all history states—this frees memory.
  6. Reduce the image size or flatten layers. Large, multi-layer documents require more memory. Try flattening the image (Layer > Flatten Image) or reducing the dimensions (Image > Image Size) before using Save for Web. You can also duplicate the file and work on a flattened copy.
  7. Reset Photoshop preferences. If the error still appears, preferences may be corrupted. Close Photoshop, then hold Ctrl+Alt+Shift (Windows) or Cmd+Option+Shift (Mac) while launching Photoshop. When prompted, click Yes to delete the settings file. This resets all preferences, so you'll need to re-enter any custom settings, but it often fixes memory errors.
  8. Update Photoshop. Check Help > Updates to ensure you have the latest version. Adobe frequently fixes memory-related bugs in updates.

Common Mistakes

  • Not restarting after changing preferences. Memory and scratch disk changes only take effect after a full restart of Photoshop.
  • Setting memory usage too high. If you give Photoshop 100% of RAM, the OS and other programs will crash or cause instability. Keep it below 90%.
  • Using a full scratch disk. If the drive you set as scratch has less than a few GB free, Photoshop can't write temporary files. Choose a drive with ample free space.
  • Ignoring the actual image size. A 100-megapixel image with dozens of layers can exhaust even 64 GB of RAM. Resize or flatten before saving for web.

Tips

  • Use the newer "Export As" feature. In recent Photoshop versions, File > Export > Export As is more memory-efficient and offers similar options to Save for Web. Try it if Save for Web keeps failing.
  • Close the History panel. The history panel stores every state, which uses RAM. If you don't need to undo, clear history or set history states to a lower number (Preferences > Performance > History States).
  • Work in 8-bit mode. If your image is 16-bit or 32-bit, converting to 8-bit (Image > Mode > 8 Bits/Channel) reduces memory usage dramatically.
  • Use a dedicated scratch disk. If you have a second internal drive, set it as the scratch disk. Avoid external drives unless they're USB 3.0 or faster.

Troubleshooting

If the error persists after following all steps, try these in order:

  1. Check your RAM usage. Open Task Manager (Windows) or Activity Monitor (Mac) and see if Photoshop is using a lot of memory. If it's maxed out, you may need to close more apps or restart your computer.
  2. Disable GPU acceleration. Go to Preferences > Performance and uncheck Use Graphics Processor. Some GPU-related bugs cause memory errors in Save for Web. Restart Photoshop.
  3. Reinstall Photoshop. If nothing else works, uninstall and reinstall Photoshop from the Creative Cloud app. This replaces any corrupted files.
  4. Check for system memory issues. If your computer has 8 GB of RAM or less, Photoshop may simply not have enough memory for large files. Consider upgrading RAM or using a different machine.

Frequently Asked Questions

Why does Save for Web use so much memory?

Save for Web creates a temporary copy of your image in memory to apply compression. Large images, many layers, or high bit depths increase that memory footprint.

Can I use Export As instead of Save for Web?

Yes. In Photoshop CC 2015 and later, File > Export > Export As is the recommended replacement. It uses less memory and supports modern formats like WebP.

Will resetting preferences delete my actions or presets?

No. Resetting preferences only resets settings like interface, performance, and tool options. Your actions, brushes, and presets are stored in separate folders and remain intact.

What is a scratch disk and why does it matter?

A scratch disk is a drive Photoshop uses as virtual memory when RAM is full. If it's full or slow, Photoshop may fail to save large files. Set it to a fast drive with plenty of free space.

Does the error mean my computer is broken?

Usually not. It's a software limitation—Photoshop can't access enough memory at that moment. Following the steps above resolves it for most users.

Can I increase virtual memory in Windows to fix this?

Yes. On Windows, you can increase the page file size via System Properties > Advanced > Performance Settings > Advanced > Virtual Memory. A larger page file gives Photoshop more virtual memory, but it's slower than RAM.