If you are an Adobe Photoshop user and you regularly work on large files, you are running Photoshop on an older or slower computer, or you just want to make sure that you are running Photoshop with maximum performance, then understanding scratch disks is important. Maybe you’ve even received a “Scratch Disk Full” error and you aren’t sure what that means or what to do about it. Today we’re going to look at scratch disks in Adobe Photoshop. We will learn what they are, how to set them up for the best performance, and how to empty them and deal with that pesky error message.
Table of Contents
What is the Photoshop Scratch Disk?
The first thing we need to know, before we learn how to setup and empty scratch disks is exactly what they are and why Photoshop uses them. Scratch Disks are temporary storage that Photoshop creates when it needs more storage than it has available on your computer’s RAM. Photoshop is a complex program, and because it is so powerful it is also it is very “resource intensive” meaning it uses a lot of your computer’s resources – from the processor, to the graphics processor, to the memory. When Photoshop needs more memory than your computer can provide it begins to use the computer’s Solid State Drive (SSD) or Hard Drive (whichever your computer has) for extra short-term storage. Essentially scratch space is hard drive/ssd drive space that Photoshop is using as extra RAM.
How to Allocate RAM to Free Scratch Disk Space
Before we get into how to make scratch disks more efficient, I want to start with a quick note about the RAM. In an ideal setup, Photoshop would have enough RAM to run everything without ever needing to use scratch disk space. While that is often not possible, it can be useful to know how much RAM is allocated to Photoshop and adjust that to reduce Photoshop’s reliance on scratch disks.
By default, 70% of your computer’s RAM is allocated to Photoshop. Because the computer needs RAM space to operate, Adobe warns against increasing the RAM allocation to greater than 85%. Depending on your computer set-up, how much RAM you have, and what processes your computer is running, the actual amount of memory your computer needs to operate efficiently will vary, so Adobe recommends increasing the RAM allocation in 5% increments. It’s a bit of a balancing act, though, because you do need to be careful not to allocate too much RAM to Photoshop. Still, since RAM storage is more efficient than scratch disk storage, making sure that Photoshop has the RAM it needs to operate can help with performance and also help keep the scratch disks from filling up too quickly.
Even with plenty of RAM, Photoshop will save some temporary files to the scratch disk, such as auto recovery files. But for the most part, increasing the available RAM either by adding more to the computer (often a simple and fairly inexpensive upgrade) or by allocating as much as necessary to Photoshop, will decrease scratch disk use and increase Photoshop’s performance.
How Much Scratch Disk Space Do You Need?
Hard drive/SSD Space can already be an issue for photographers (all those large RAW files start to add up), but it is essential that you leave enough room on your drive for Photoshop’s scratch space. If your scratch disk is running on your main system drive, Photoshop will automatically reserve 6 GB of space as scratch space. On non-system drives it reserves 1 GB of space. But how much you actually need is different than what Photoshop is reserving, and it varies drastically based on what you are actually doing in Photoshop.
For smaller processes and edits, Adobe says you will need 1.5 GB plus 2 times the size of all the files you have open at once. For large processes and complex edits, they say that you could need current document sizes multiplied by the number of history states (you can adjust the number of history states by going to Edit > Preferences > Performance).
Practically, file sizes add up quickly, especially when working with large files and multiple layers or multiple image files. So, it’s important to make sure you have plenty of available space on your drives.
Using the Status Bar to Check Efficiency and Scratch Sizes
In the bottom left corner of your Photoshop documents, there is status bar that can display information about your image and about Photoshop’s efficiency and scratch sizes. By clicking on the arrow on the right-hand side, you can select the status option you would like displayed. Three of these can help give us a good indicator as to how Photoshop is running with regards to scratch disk space:
- Document Size gives you the file size of that particular document. There are two numbers displayed, with the number on the right being the actual document size as it is open in Photoshop (with layers and such) and the number on the left being the size if you flattened the document. Having an idea of the size of the documents you have open and are working on can help to give you an idea of the amount of memory Photoshop will need.
- Efficiency is displayed as a percentage. When the efficiency drops below 100%, it indicates that Photoshop is writing to scratch disks. The lower the percentage, the greater percentage of the time Photoshop is spending writing to scratch disks. Watching the efficiency number drop is a good indicator that you need to make sure you have plentiful scratch disk space available for Photoshop to use, and it’s also an indicator that Photoshop needs more RAM to run as efficiently as possible.
- Scratch Sizes displays the total amount of memory that all the open documents are using (left number) and the amount of RAM that Photoshop has available to use (right number). The less of the available RAM the open documents are using the less you will end up relying on scratch disk space and the better Photoshop will run.
How to Move Photoshop Scratch Disks to Another Drive
The information in the status bar can give you a good idea of how Photoshop is running and if you can expect your scratch disks to fill up, but how do you free up more space if you need to?
If you need more scratch space, one of the easiest and quickest ways to free up space is to move the scratch disks to another drive. By default your scratch disks will be stored on your system drive, but you can change that by going to Edit > Preferences > Scratch Disks and assigning a new drive, or additional drives. You can assign up to 4 hard drives or SSD drives to be used as scratch space.
If your main system drive is an SSD, you may as well use your main drive as your scratch disk drive; there is no performance penalty, as long as it has enough free space to run efficiently. However, if your main drive is a hard drive, then you will see a performance increase from moving your scratch disks to another drive. You can use a secondary drive as scratch disk space, either another internal drive or even an external hard drive/ssd drive as long as you are using a fast connection like USB 3.0 or Thunderbolt.
To change which drive Photoshop is using for scratch disks, go to Edit > Preferences > Scratch Disk. Then use the checkbox to select or unselect the drives you want to use. You can allocate up to 4 drives as scratch space. External drives using a high speed connection are fine, but if the drive wasn’t connected when you opened Photoshop, you will need to restart Photoshop before it will recognize it as an option. When you make changes to your scratch disk drives (adding or selecting new drives), you will need to restart Photoshop before they take effect.
Using Your System Drive for Scratch Space
If you can’t move your scratch disks to another drive then you want to free up space on the existing drive. If your scratch disks are stored on your system drive then Photoshop is automatically going to allocate 6 GB of space, but your operating system most likely uses your system drive for virtual memory as well, so you likely need more free space than that to make sure your computer is running well. If your scratch disks are on a hard drive as opposed to an SSD drive then you also want to make sure to defragment the hard drive regularly. Because of the way scratch disks are saved to the drive, hard drives uses as scratch disk require more regular defragmenting than they would otherwise.
Clearing Memory Within Photoshop & Purging Cache Files
If you are watching your scratch/document sizes climb and your efficiency drop, you may want to clear up some memory while you are in Photoshop. The absolute easiest (and least painful) way to do this is to simply close documents you aren’t using until you need them. Closing extra documents can drastically reduce the memory and the scratch disk size Photoshop is using.
You can also reduce the size of a large document you are working with by cleaning up any unnecessary layers. Duplicating the background layer of a photograph doubles the image size and increases it by the original image size again for every new duplicated photographic layer.
Decades ago, whenever possible, we were advised to make a selection and only duplicate the necessary selection of an image to a new layer to save space. Steps that drastic are rarely necessary now, but if you are dealing with an extraordinarily large file or a very slow machine, reducing your extra layers (or flattening layers when possible) can help. Make sure you don’t need to make changes to a layer before flattening it, though, as flatting an image is a trade-off between editability and space.
Reducing the number of History States (Edit > Preferences > Performance) can also drastically reduce the memory/scratch disk space that Photoshop uses. Of course, it is a trade-off between performance and the ability to undo/go back farther. But if you keep your History States to a number that you’d realistically need, rather than using something excessive, you can make a significant difference in the amount of memory Photoshop is using.
You can also purge your cache files to free up space, but this does come at a cost as well. If you go to Edit > Purge, you will have the option to purge the “Clipboard” or the “Histories” or “All.” Clearing the clipboard will clear anything you have copied to the clipboard. Histories clears all the history states, so even undo (CTRL/CMD +Z) will no longer be available. However, history states can take up a lot of memory, so this can be helpful if you’re sure you don’t need to go back. While purging these will free memory or scratch space, keep in mind that it cannot be undone.
What to do when Photoshop Cannot Open Because Scratch Disks Are Full
One of the most frustrating error messages Photoshop gives is the one that reads “Could not initialize Photoshop because the scratch disks are full.” If Photoshop can’t initialize then how can you deal with the scratch disks? Well, the first thing to do is to make sure that the hard drive that Photoshop is using for Scratch Space is not full. If you haven’t changed your preferences then that will be your main system drive.
If it is full, clearing space on the drive will help solve the problem. Move files to an external drive, delete unnecessary files, clear the recycle or trash bin on the computer. Anything you can do to free up Gigabytes worth of space should fix this error. If you can’t free up enough space – or, you simply want to select a different scratch disk drive, but Photoshop won’t open because the disks are full – then you can hold CTRL+ALT (Windows) or CMD+OPTION (Mac) while Photoshop is launching to select a new scratch disk drive.
Reset Photoshop Preferences
Sometimes an error or a corrupted preferences file in Photoshop can affect your scratch disks. Fortunately, resetting the preferences can be done on launch in much the same way as resetting the scratch disk drive. To reset Photoshop preferences, you can hold down CTRL+ALT+SHIFT (Windows) or CMD+OPTION+SHIFT (Mac) while Photoshop is launching. Because this will reset the preferences, you should back up your preferences before resetting them if at allpossible .
Making sure that Photoshop has the memory it needs to run efficiently, and making sure your scratch disks are setup properly, can go a long way to keeping Photoshop working the way you need it to. It’s important for all Photoshop users to keep an eye on efficiency, know where their scratch disks are located, and be familiar with what to do if Photoshop encounters a scratch disk error. Hopefully this has simplified that process for you, so you can keep working on your images uninterrupted.
How do I free up scratch disks in Photoshop? ›
- In Photoshop, open the Edit menu and click Purge.
- Select All to clear all caches, or choose an individual cache to clear (Clipboard, Histories, Video Cache).
Defragment Your Hard Disk
This is because Photoshop requires contiguous, unfragmented free space on the scratch disk drive. If you are getting the "scratch disk is full" error message and your scratch disk drive does show a good amount of free space, you may need to run a disk defragmentation utility.
- Clear your Photoshop cache. Photoshop has an in-built solution for deleting specific Photoshop caches. ...
- Delete your temp files. ...
- Clear your disk space. ...
- Change your scratch disk. ...
- Consider buying a new SSD. ...
- Follow the 15% rule. ...
- Free up RAM in Terminal. ...
- Reset Photoshop preferences.
You can also resolve a 'scratch disk full' condition by selecting additional drives for use as scratch disks. Hold down the Cmd + Option keys (macOS) or Ctrl + Alt keys (Windows) during app launch and set a new scratch disk for your system under the Scratch Disk Preferences dialog that opens.How do I reset all settings in Photoshop? ›
- Step 1: Open The Preferences Dialog Box. ...
- Step 2: Choose "Reset Preferences On Quit" ...
- Step 3: Click "Yes" To Delete The Preferences When Quitting. ...
- Step 4: Close And Relaunch Photoshop.
For many computer users, most of the disk space used is by applications and games. If you find that you no longer use certain programs, you can uninstall and remove them from your hard drive. Again, Windows provides the ability to easily get rid of any unwanted programs that we may have on our computer.Can I use an external hard drive as a scratch disk Photoshop? ›
You can allocate up to 4 drives as scratch space. External drives using a high speed connection are fine, but if the drive wasn't connected when you opened Photoshop, you will need to restart Photoshop before it will recognize it as an option.What does purge all do in Photoshop? ›
To delete all the Photoshop memory off your RAM (from Undo, Clipboard, and History), go to the Edit menu, select Purge and select the item you want to purge. If you select All, it wipe out everything off your RAM.How much space do you need for scratch disk in Photoshop? ›
Photoshop supports up to 64 exabytes of scratch disk space on up to four volumes. (An exabyte equals 1 billion GB.) If your startup disk is a hard disk, as opposed to a solid-state disk (SSD), try using a different hard disk for your primary scratch disk.Where is Photoshop cache located? ›
It's in C:\Users\User\AppData\Local\Temp. To access that, you can type %LocalAppData%\Temp in the Start > Run field. Look for "Photoshop Temp" file list.
Where is Adobe scratch disk? ›
A scratch disk is automatically located in your main hard drive, which would be the C: drive for most of us. Photoshop provides an option to shift that location elsewhere, namely to another internal or external hard drive that has ample space to save Photoshop's temporary files and data.