Photoshop does not keep an open document entirely in memory. Once a file grows large, or once you build up lots of history states and layers, Photoshop starts spilling data to a scratch disk on your storage drive. If that drive is slow, every filter, history step, and save drags; if it fills up, Photoshop stops working until you free space. A RAM disk gives Photoshop a scratch disk that is faster than any SSD, and because it is wiped at shutdown, stale scratch files never pile up.
This guide explains how the scratch disk works, when a RAM disk is the right choice, how much memory to allocate, and how to create the RAM disk in Windows 11 with Qiling Disk Master and point Photoshop at it.
Photoshop uses two kinds of working space. The first is RAM, which is fast and holds the active parts of your document. The second is the scratch disk, a folder on a storage drive that Photoshop uses when RAM is not enough. History states, layer data, and the extra tiles Photoshop needs for filters and transformations all spill over to the scratch disk.
Two things follow from this:
By default Photoshop uses the drive where Windows is installed. On a modern PC that is an SSD, which is why many users never notice the scratch disk at all — until they work with very large files.
A RAM disk turns part of your system memory into a virtual drive. For scratch data, its properties line up almost perfectly with what Photoshop needs:
The trade-off is that RAM is volatile and limited. If you shut down or lose power, whatever is on the RAM disk is gone. For scratch data that is acceptable, but you should still save your documents to a real drive as you work.
A RAM disk takes memory away from Photoshop itself, so sizing matters. Leave at least 8 GB for Windows and your applications, and use the rest of your spare memory for scratch:
| Total RAM | Suggested RAM disk | Notes |
|---|---|---|
| 16 GB | Not recommended | Photoshop needs most of this. Use a fast NVMe SSD as the scratch disk instead. |
| 32 GB | 4-8 GB | Works well for photo editing and moderate retouching. |
| 64 GB | 8-16 GB | Comfortable for large composites and heavy history use. |
| 128 GB or more | 16-32 GB | Plenty of room for very large files, 3D, and video tools that also use scratch space. |
Whatever you choose, keep a second scratch disk on a fast SSD. If the RAM disk ever fills, Photoshop can fall back to the SSD instead of stopping with an error.
Qiling Disk Master includes a one-click RAM disk in its free edition. The drive is recreated automatically at startup, so it is ready whenever Photoshop opens.
Step 1. Download and install Qiling Disk Master, then launch it.
Step 2. In the main window, open the Tools and Utilities page.

Step 3. Click Create ramdisk.

Step 4. Set the size according to the table above, choose a free drive letter such as R:, and select NTFS as the file system.
Step 5. Turn on automatic mounting at startup so the drive is present every time Windows boots, then click Create.
Step 6. Open File Explorer and confirm that the new drive appears with the size you set.
Step 1. Open Photoshop on Windows 11 and go to Edit > Preferences > Scratch Disks.
Step 2. Tick the checkbox next to your RAM disk drive letter, for example R:. If you also want a fallback, tick your system SSD as well.
Step 3. Use the arrow buttons to move the RAM disk to the top of the list, so Photoshop uses it first and only falls back to the SSD when it is full.
Step 4. Click OK and restart Photoshop. The change takes effect the next time the program starts.
Step 5. Optional: if you work with RAW files, go to Edit > Preferences > Camera Raw, open the performance or cache settings, and point the Camera Raw cache to the RAM disk as well for faster thumbnails and previews.
Yes. Scratch data is temporary working data, not your saved file. A power failure loses unsaved edits, which would happen anyway, but it cannot damage your saved PSDs because they live on a real drive.
Only when a document and its history exceed the memory Photoshop is allowed to use. The RAM disk does not reduce that usage; it makes the spillover much faster when it happens.
A fast NVMe SSD is the safe general answer and works on any PC. A RAM disk is faster and avoids SSD writes, but it needs spare memory and is cleared at every reboot. If you have 32 GB or more, using both — RAM disk first, SSD second — gives the best of each.
The scratch disk ran out of free space. Free up space, increase the RAM disk size, or add a second scratch disk on a drive with plenty of room, then restart Photoshop.
Yes. Lightroom Classic uses a Camera Raw cache that benefits from a fast location, and Premiere and other video editors have a media cache that can also be pointed at the RAM disk. The same sizing rules apply.
No. Actions that fit in RAM are already fast. The gain shows up in large documents, heavy history use, and operations that spill over to scratch, which is exactly when the scratch disk becomes the bottleneck.
Creating a RAM disk and changing Photoshop preferences is safe, but a backup protects your system and your artwork. Qiling Disk Master creates a full Windows image you can restore from if anything goes wrong.
Step 1. Install and open Qiling Disk Master. On the home screen, open "Backup and Recovery" and choose "System Backup". This option automatically includes Windows and the hidden boot partitions, so you do not have to select them one by one.

Step 2. Check the source. The disk where Windows is installed and its system partitions are already ticked for you. If you only need your personal documents, run a separate "File Backup" task instead.

Step 3. Click the destination box and choose where the image should be saved. Use an external HDD or SSD, a NAS, or any drive other than the one Windows is installed on, and make sure it has enough free space.

Step 4. Review the task summary and click "Proceed". Wait until the progress bar reaches 100%. Do not unplug the drive or turn off the PC while the backup is running.

Step 1. Open Qiling Disk Master again, go to "Backup and Recovery", and select the recovery option. Your backup images are listed, so pick the one you created before the changes began.

Step 2. Choose the target disk or partition. Normally you restore to the original system disk. If the drive was replaced, select the new disk instead, and the restore rebuilds Windows together with its boot partitions.

Step 3. Preview the restore plan, click "Proceed", and confirm the warning. The PC restarts to finish the job, and Windows comes back exactly as it was on the day the image was created, with your files and programs intact.

A RAM disk is one of the best scratch disks you can give Photoshop on Windows 11. It is faster than any SSD, it keeps constant scratch writes off your SSD, and it clears itself at every reboot, so there is no cleanup to remember. Create the drive with Qiling Disk Master from the Tools and Utilities page, choose a size that leaves at least 8 GB of RAM for Windows, then set it as the first scratch disk in Edit > Preferences > Scratch Disks, with your system SSD as the fallback. Save your documents to a real drive as usual, and the RAM disk handles the rest. If you have little spare memory but a spare SSD, Qiling Fast Cache can accelerate the Photoshop drive instead.
Protect your PC with Qiling Backup—create a system image before your next round of settings changes.
For more Windows 11 performance guides, see How to Create a RAM Disk in Windows 11, RAM Disk for Video Editing, How to Use Extra RAM to Speed Up Your PC, Windows 11 Fast Cache, and Move the TEMP Folder to a RAM Disk.