You're in the middle of a tight deadline, you select a logo on a textured background, hit Content-Aware Fill, and Photoshop spits out 'Could not complete your request because of a program error.' It's a gut punch. I've fixed this for clients from solo designers to small agencies, and the cause is almost always one of three things. Here's what to do.
The Quick Fix (Do This First)
- Close Photoshop completely.
- Hold down
Ctrl(Windows) orCmd(Mac) and double-click the Photoshop icon to launch it. - A dialog will pop up asking if you want to reset settings. Click Yes.
- Once Photoshop opens, try Content-Aware Fill again.
That resets your preferences to default. If the error disappears, you know a corrupted preference file was the culprit. But don't stop there—you'll want to restore your custom settings. More on that below.
If That Didn't Work: Purge the GPU Cache
Photoshop's GPU cache can get corrupted, especially if you're on a laptop with switchable graphics (looking at you, Dell XPS and MacBook Pro users). Here's how to clear it:
- Go to Edit > Preferences > Performance (Windows) or Photoshop > Preferences > Performance (Mac).
- Click Advanced Settings under Graphics Processor Settings.
- Uncheck Use OpenCL and Use Graphics Processor.
- Click OK, then restart Photoshop. Try Content-Aware Fill again.
If it works now, the GPU was the problem. You can try re-enabling the GPU, but if the error comes back, leave it off. Content-Aware Fill uses CPU anyway—the GPU acceleration is mostly for other features.
Still Broken? Reset the Scratch Disk
I had a client last month whose entire print queue died because of this. Their scratch disk was set to a nearly full external drive. Photoshop needs room to breathe. Go to Preferences > Scratch Disks and make sure your primary drive (with at least 20GB free) is checked. Uncheck any network drives or nearly full drives. Restart Photoshop.
Why This Works
That 'program error' is Photoshop's catch-all for 'I tried to allocate memory and failed.' Content-Aware Fill is memory-hungry—it analyzes surrounding pixels and generates new ones. If your preferences are corrupted, Photoshop might be pointing to a dead scratch disk or a bad GPU setting. Resetting preferences forces it to rebuild a clean configuration. Purging the GPU cache removes corrupted shader data. And fixing the scratch disk gives it the space it needs to do the heavy lifting.
Less Common Variations
If you've tried all three fixes and still get the error, check these:
- Outdated GPU driver: Update to the latest from NVIDIA or AMD. On Mac, update macOS.
- Corrupted Photoshop install: Run the Adobe Creative Cloud cleaner tool, then reinstall Photoshop.
- Third-party plugins: Disable all plugins by moving them out of the Plug-ins folder, then test.
- Font conflicts: A corrupt font can cause weird errors. Use a font manager to disable all but system fonts, then test.
- Windows update conflict: Some Windows updates break Photoshop's GPU acceleration. Roll back the update or wait for Adobe to patch.
Prevention
Once you're back up and running, save your custom preferences. With Photoshop closed, navigate to your preferences folder:
Windows: C:\Users\[YourName]\AppData\Roaming\Adobe\Adobe Photoshop [Version]\Adobe Photoshop [Version] Settings
Mac: /Users/[YourName]/Library/Preferences/Adobe Photoshop [Version] Settings
Copy that folder to a backup drive. If the error comes back, you can restore your settings without losing your workspace. Also, keep at least 20% of your scratch disk free, and update your GPU driver every few months. Trust me—it saves hours of headache.