Prevent errors caused by a full scratch disk.
I created a script that processes a single document many times over to output variations of the document, using external files to replace inside the document.
This works perfectly, as long as scratch disk space is available. But after hours of processing, at some point
the scratch disk will be full, and a size of over 150GB.
I changed the history state settings, but it doesn't seem to affect the scratch disk size.
The document itself isn't getting bigger in size. the amount of layers stays the same.
But still, the scratch disk keeps increasing. And only a PS restart will clear up the space again.
At some point I may even want a dedicated system, processing documents for weeks without a restart.
Who knows some possibilities to keep PS running without the need for any restarts, perhaps clearing the scratch disk by script?
