Skip to main content
Known Participant
September 3, 2021
Question

Can use Script to clear the temporary storage disk

  • September 3, 2021
  • 2 replies
  • 1217 views

hello:

Can use Script to clear the temporary storage disk??

i use bridge and photoshop script to deal with multiple psd file, but always blocked by error 'the temporary storage is full'.

What can i do???

 

Thanks.

My best!

This topic has been closed for replies.

2 replies

Jeff Arola
Community Expert
Community Expert
September 3, 2021

To clear unused scratch disk space and memory that photoshop doesn't need at the moment, you can Hold down Option (macOS) or Alt (Windows) and choose About Photoshop.

 

A better option would be a much bigger internal or external drive, say 2 to 4 TB to handle the photoshop scratch disk.

 

 

 

Kukurykus
Legend
September 3, 2021

How you know that operation happens while holding Alt and clicking that Help menu item?

 

I checked size of 'Photoshop Temp' file in 'C:\Users\User\AppData\Local\Temp' before this action and then after it and noticed the size of file decreased of 30 MB, so it seems it works. Where you've found it?

Jeff Arola
Community Expert
Community Expert
September 3, 2021

I believe their is a thread on photoshop.com that deals with this subject, but since photoshop.com was shutdown, finding that thread is proving difficult, however i did find this.

 

 

In the June 2015 photoshop release notes under Other enhancements it says

(towards the bottom of the page)

 

"There's a new command to release all RAM and scratch disk use. Hold down the Option/Alt key and select About Photoshop. Or, select Edit > Purge > All."

 

New features summary / Adobe Photoshop CC 2015 (June and November releases)

 

 

 

 

 

Edit:

 

I guess this was the post i was looking for:

https://feedback-readonly.photoshop.com/conversations/photoshop/photoshop-scratch-disk-full-even-with-all-files-closed-problem/5f5f45684b561a3d424a148b

hui5C21Author
Known Participant
September 3, 2021

I had setted the temporary storage disk as D and E with 120+G,but psd file is a lot ,so i need find a way to clear it.

hui5C21Author
Known Participant
September 3, 2021

Hi~,

When i run javascripts to deal with some psd files,the alert message popout "Can not complete the actions because the scratch disks are fulll".

i had setted the scratch disks to be my biggest local disk,but my scripts need to automaticlly deal with many psd files, so i need a way to clear the scratch disks using javascript.

What should i do??

hui5C21Author
Known Participant
September 3, 2021

My scratch disks has 140Gb,but only enough to deal with about 10 psd files only,can anyone help me?