User Agents

Web browsers and everyday web tech, explained

Clear Cache Photoshop: Speed Up Your Workflow

· 6 min read · Cookies and Cache

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

To clear the cache in Adobe Photoshop, you primarily use the "Purge" command found under the Edit menu, which removes unnecessary temporary data from your RAM and scratch disks. Clearing the cache is essential for resolving performance lag, fixing "out of memory" errors, and ensuring that the software has enough headroom to handle large, complex files with numerous layers and smart objects. By flushing the undo history and clipboard data, you reclaim system resources that Photoshop would otherwise hold onto, even if you no longer need to revert to a previous state.

What You'll Need

  • A computer running a compatible version of Adobe Photoshop (CC or CS series).
  • Administrative privileges on your OS to manage disk space if you are clearing the physical scratch disk.
  • A saved version of your current project, as purging the undo history will prevent you from stepping backward in your work.

Step-by-Step

  1. Save Your Current Work: Before performing any cache clearing, press Ctrl+S (Windows) or Cmd+S (Mac). Because clearing the cache often involves purging the undo history, any unsaved changes that you might want to revert to will be permanently lost once the purge is executed.
  2. Open the Edit Menu: Navigate to the top menu bar of the Photoshop interface. Click on the "Edit" tab to reveal the dropdown menu.
  3. Locate the Purge Option: Hover your cursor over the "Purge" menu item. A secondary fly-out menu will appear with several specific options for what data you wish to clear.
  4. Choose Your Purge Level:
    • Undo: This clears the history states. Use this if you have finished a specific phase of your project and no longer need to "Undo" back through dozens of steps.
    • Clipboard: This clears any image data currently copied to your system clipboard. Use this if you have copied a massive high-resolution image that is eating up RAM.
    • All: This clears both the Undo history and the Clipboard simultaneously. This is the most effective way to quickly reclaim memory during a session.
  5. Verify Memory Recovery: To see if the action worked, you can monitor your system's Task Manager (Windows) or Activity Monitor (Mac) to see the drop in RAM usage, or check the Photoshop performance panel.
  6. Manage Scratch Disk Space: If you are receiving "Scratch Disk Full" errors, clearing the internal cache via the Purge menu may not be enough. Go to Edit > Preferences > Scratch Disks. Here, ensure that the drive with the most free space is selected as the primary scratch disk. If your main drive is full, you may need to manually delete temporary files from your OS (usually found in the Temp folder on Windows or /tmp on Mac) while Photoshop is closed.
  7. Restart the Application: For a complete cache refresh, close Photoshop entirely. This forces the software to release all held memory addresses and clear temporary session files that the Purge command might miss.

Common Mistakes

One of the most frequent errors users make is purging the Undo history while they are still in the middle of a complex editing sequence. Once you select "Purge > Undo," the history panel is wiped clean. If you realize you made a mistake five minutes prior, you will find it impossible to go back, forcing you to either restart from your last save or manually recreate the work. Always ensure you have reached a stable milestone in your design before purging.

Another common mistake is confusing the "Purge" command with "Disk Cleanup." Purging handles the active RAM and temporary session data, but it does not delete the actual temporary files stored on your hard drive if Photoshop crashed previously. If Photoshop crashed, it often leaves behind large "pstmp" files. Simply using the Purge menu while the app is open will not remove these orphaned files; you must navigate to your system's temporary directory and delete them manually while the program is shut down.

Users also frequently neglect their scratch disk settings. They may try to clear the cache repeatedly while their scratch disk is pointed to a nearly full SSD. No amount of purging will fix a fundamental lack of disk space. If your drive has less than 20GB of free space, Photoshop will struggle regardless of how often you clear the cache.

Tips

To maintain a fast workflow without constantly manually purging, optimize your Performance settings. Go to Edit > Preferences > Performance. Under the "Memory Usage" section, you can allocate more RAM to Photoshop. Generally, allocating 70% to 80% of available RAM is ideal, but leaving too little for the OS can cause system-wide instability.

Consider utilizing "Smart Objects" judiciously. While they are powerful, they store the original source data in the cache. If you have dozens of high-resolution smart objects in one file, your cache will fill up rapidly. Once you are certain of a smart object's appearance, rasterizing it (Right-click layer > Rasterize Layer) can significantly reduce the memory load, though you lose the ability to non-destructively edit the source.

For those working on extremely large files, try working in "chunks." Instead of keeping one massive PSD open for ten hours, save your progress and restart Photoshop every few hours. This naturally flushes the cache and prevents the gradual memory leak that can occur during long sessions involving complex filters and heavy brushwork.

Troubleshooting

If you have purged all caches and are still receiving "Out of Memory" or "Scratch Disk Full" warnings, the problem likely lies in your hardware allocation or OS-level temporary storage. First, check your hard drive capacity. If your C: drive (Windows) or Macintosh HD is red (nearly full), Photoshop cannot write the temporary swap files it needs to function. Move large videos or archives to an external drive to free up at least 50GB of space.

If the software freezes during the purge process, it usually indicates that the system is struggling to reallocate a massive amount of RAM. In this case, force-quit the application using Ctrl+Alt+Delete (Windows) or Cmd+Option+Esc (Mac). Upon restarting, immediately go to the Preferences menu and change the Scratch Disk to a secondary internal drive if available. Using an NVMe SSD as a scratch disk is significantly faster than using a mechanical HDD and can prevent many cache-related freezes.

In rare cases, a corrupted preference file can cause the cache to behave erratically, where the Purge command seems to do nothing. To fix this, you can reset your preferences. Hold Alt+Ctrl+Shift (Windows) or Opt+Cmd+Shift (Mac) while starting Photoshop. A dialog will ask if you want to delete the Adobe Photoshop Settings file. Click "Yes." Note that this will reset your custom workspaces and tool settings to default.

Frequently Asked Questions

Does clearing the cache delete my images?

No. Clearing the cache only removes temporary data, such as the undo history and the contents of the clipboard. It does not delete your saved .PSD, .JPG, or .PNG files from your hard drive.

How often should I purge the Photoshop cache?

There is no set schedule, but it is recommended whenever you notice a dip in performance, when you are about to start a new heavy task (like a complex Gaussian Blur on a large layer), or after you have completed a major section of a project.

What is the difference between RAM and a Scratch Disk?

RAM is the high-speed memory Photoshop uses for active operations. When RAM fills up, Photoshop uses the "Scratch Disk" (your hard drive) as virtual memory. Purging clears the RAM; managing scratch disks ensures there is enough hard drive space to act as a backup.

Will purging the cache speed up my export time?

Indirectly, yes. While it doesn't change the export algorithm, a system with more available RAM can process the final render more efficiently without having to constantly swap data to the slower hard drive.

Why is my scratch disk still full after purging?

Purging clears the active session's memory. If Photoshop crashed previously, it may have left "temp" files on your disk that are not linked to the current session. You must delete these manually from your system's Temp folder while Photoshop is closed.