• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
8

P: Temp Files Filling Scratch Disk FAST (possible memory leak?)

Community Beginner ,
Nov 07, 2019 Nov 07, 2019

Copy link to clipboard

Copied

I work with extremely large PSB files (~20-100 GB). Supercharged Windows 10 machine built for this purpose alone, that includes:

  • NIVIDIA Quadro P4000 (8 GB RAM)
  • 128 GB RAM
  • 1 TB OS Drive
  • 14 TB Data Drive
  • 4 TB Data Drive
  • 2 TB, RAID 0 scratch disk 

Previous project file was 50 GB and used approximately 500 GB of my scratch disk. Current project file is now reduced to 22 GB. After upgrade to PS 2020, I had to add 2 additional scratch disk options and TEMP files are now eating 4 TB and counting! It's creating anywhere from 3 to 8 new 64 GB Temp files every minute when using the program!

After spending 1 hour on tech support, I was told this is normal, expected behavior; to use 10+ times as much scratch disk space as Photoshop 2019!

Screen capture available here:
https://www.dropbox.com/s/r31dzyzsq1uiv2m/Photoshop-2020ScratchDiskIssue.JPG?dl=0

Bug Fixed
TOPICS
Windows

Views

2.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Dec 09, 2019 Dec 09, 2019
Version 21.0.2 should be available to you shortly and contains our changes to correct the excessive scratch space usage issues with Legacy Compositing disabled.

I'd like to know whether the changes have resolved all the issues listed here.  If you still have document size issues with 21.0.2, please follow up by eMailing me at carboni @ adobe . com (no spaces).  I want to make sure we get this right.

Thanks!

-Noel

Votes

Translate

Translate
45 Comments
LEGEND ,
Nov 08, 2019 Nov 08, 2019

Copy link to clipboard

Copied

Same problem here: 500MB file INSTANTLY taking up 75GB of my scratch. Just from OPENING THE FILE.

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 08, 2019 Nov 08, 2019

Copy link to clipboard

Copied

I find this issue happens all the time even with PS2019 ... Photoshop does not clean up after itself either, leaving huge gigabyte orphan temp files.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Nov 11, 2019 Nov 11, 2019

Copy link to clipboard

Copied

Latest "critical update" does not help this issue, in fact, made matters worse. Now showing 0 bytes for file size but still eating my scratch disk! 14+ TB gone in less than 1 hour. 23 temp files in 1 minute. Can't use key strokes, can't check preferences, can't exit the program! Everything gives EXTREMELY helpful "due to disk error" error message. Yes, Adobe, that IS sarcasm!

Votes

Translate

Translate

Report

Report
New Here ,
Nov 11, 2019 Nov 11, 2019

Copy link to clipboard

Copied

Yes, I'm having the exact same issue!!! Dozens of 64GB Temp Files are filling all 7 TB of scratch disk space (in about 30 minutes), and then not allowing me to "save". I switched back to PS 2019 and it's not an issue. I've lost many hours of productivity over this issue! HELP! FAST!

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 12, 2019 Nov 12, 2019

Copy link to clipboard

Copied

Well, I just found out that if I work on my smart object using clone stamp, within only 5 minutes, my scratch file grew to 250GB !!! After a while, it took 350GB, the whole space on my HDD and I had a problem to save my work...

Something is really wrong as I had no problems in PS2019.

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 13, 2019 Nov 13, 2019

Copy link to clipboard

Copied

Hi Greg, presuming you haven't already been contacted by and are working with someone from Adobe, I'd like to try to learn more about what you're seeing.

I'm sure you already know that Photoshop keeps an entire copy of your document's working memory content for EACH new step stored in the History panel, and that is expected to grow.  The total scratch disk space used for such history states can be limited by configuring the History States setting in the Performance Preferences panel.

We've tried generally to reproduce the issue you've stated here on several of our big Windows systems but beyond just what you'd expect by multiplying out the storage needed to keep the History states during editing we're not seeing runaway usage of scratch disks.  Presuming what you're reporting goes beyond multiplying width x height x depth x history states, can you describe what operations you're doing to cause an increasing number of scratch files to accumulate?

Thanks!

-Noel Carboni
 Adobe QE Developer

Votes

Translate

Translate

Report

Report
Community Beginner ,
Nov 13, 2019 Nov 13, 2019

Copy link to clipboard

Copied

Hi Noel,

Thank you kindly for reaching out to me on this issue. Aside from my first phone support call, no one has contacted me. For background, I have been using PS since v2.0 and consider myself an expert. I know how to manage all preferences (including 50 history states, Huge Pixel Dimensions, and multiple scratch disks) and understand image properties and the affects on performance. Over the course of the last year, I have regulary worked on single project, 50+ GB PSB's, with multiple linked objects (44,000 px X 33,000 px dimensions).

My current project began in PS 2019 and quickly grew to 54 GB. At that stage in the project, even with many different large files open, my temp files were only utilizing about 30-50% of my 2 TB, and I could watch PS writing a 64 GB file every couple of minutes. The same project file slimmed down to 23 GB (still in PS 2019) and temp files were 200-400 GB over the course of an entire week's worth of work; never closing the file or restarting PS.

Side Note: the last 2019 update changed this behavior as each morning PS crashed as soon as I restored the window; I sent multiple crash reports to Adobe and suspect it was a problem associated with the GPU as this setting would be disabled on restart.

One week ago, I upgraded to PS 2020 due to the daily crash issue above, and the ability to convert smart objects back to original layer groups (THANK YOU!). I did notice the time to open/save, and auto-background saves definitely improved. Then, really going to work with it, I was quickly prompted it was out of disk space and could not do anything further "due to drive error" message. I checked the scratch disk and it was done. Checked preferences, and added/sorted my 4 TB E: and 14TB D: drives in that order (project file on D:), and was ECSTATIC to find PS immediately took advange of this, no longer needing a restart to take advantage of it or I would have lost the work. This was short lived as the additional 10+ TB also vanished. When you're out of disk space, you can do nothing. I can't save the file, I can't close the file without saving, I can't exit PS. Only a force quit is available and it does not recover the file. Work lost. Luckily, it was only about 30 minutes of brush work but that's the problem. 12+ TB gone in 30 minutes now. This CANNOT be intended behavior.

I have been monitoring the PS 2020 behavior closely now. Working with smart-objects and linked assets do not change the temp files much, but a few brush strokes can kill a drive. It is really dependent on what the work involves.

As seen in the OP dropbox screen capture, multipile 64 GB files are generated with the same time stamp. Can you see this image? I don't believe the RAID drive can write them this fast. It's like PS is creating multiple copies of the same files. I've seen as many as 23 with the same time stamp. I've also seen PS reporting out of drive space, but my drive properties showed 8TB available. Upon inspection, there were maybe 100 files showing a zero file size in windows, but obviously they ate the drive. 

Please let me know what else I can do to assist.

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 13, 2019 Nov 13, 2019

Copy link to clipboard

Copied

You're welcome, and thanks in return for providing more information.

I'll try to make up some more complex documents to see if I can cause what you're seeing to happen here.  If I can't easily do so, would you be willing to continue our conversation via eMail, and possibly share a document with which we can try to understand what's going on?

If so, my eMail is (please squeeze out the spaces) carboni@ adobe. com

Thanks again!

-Noel Carboni
 Adobe QE Developer

Votes

Translate

Translate

Report

Report
Community Beginner ,
Nov 13, 2019 Nov 13, 2019

Copy link to clipboard

Copied

Of course. I will email you my contact info.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 14, 2019 Nov 14, 2019

Copy link to clipboard

Copied

We have the same issue. Instead of opening another ticket, i want to put in my info here. We have a 200-300MB file, which we can open in Photoshop 2019 just fine, and work on the file with the scratch disk using around 1-5 GBs in a few hours by just using the brush on some layer masks. However, if we open the same file in Photoshop 2020, and we brush some layer files, it fills up 300GBs in just around 10-30 seconds of clicking the brush. The file has around 10-12 smart objects, it seems to be somewhat connected to that, since if we create an empty white file with the same dimensions as the original, but without any smart objects, then we can't see the scratch disk fill up that fast, it only grows by a few megabytes maybe gigabites, but not 300GB in half a minute! Something is definitely wrong, we have worked with huge files in Photoshop 2019 before and never had an issue of Workstations filling up withing minutes, and now, with this average sized file of 200-300MB we have only minutes to work on the file before it fills the scratch and crashes photoshop! And we can't save or close the file in this case, as Greg has experienced! Thanks for looking into this bug asap!

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 14, 2019 Nov 14, 2019

Copy link to clipboard

Copied

Juerg, thanks for adding your info here.  Would you (and others posting here) also be willing to eMail me?  carboni @adobe. com (no spaces).

I have been working diligently to reproduce the problem but so far on our systems here I have been unable to do so.  Ideally, if I can find a reliably reproducible use case with one of your documents we should be able to get it fixed quite quickly.

Thanks.

-Noel Carboni
 Adobe QE Developer

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 15, 2019 Nov 15, 2019

Copy link to clipboard

Copied

Same issue here. Working on a 3GB file created in PS 2019. Within a few minutes of brushing a mask my 500GB scratch disk was full. As I have just managed to convince management to spend money on an ultra fast drive to devote to being a scratch disk, and I don't think I can convince anyone to let me spend the cash for multi terabyte array, I am forced to continue to use PS 2019 unless this issue is addressed. I commonly work on files that are between 15-20GB so this new structure is unacceptable. I would suggest there be an option for handling temporary files in preferences between the previous and new versions. Not everyone can just go out and spend more money whenever Adobe gets the inclination to change a fundamental part of the PS workflow.

Thank you for letting me vent, very frustrated.

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 15, 2019 Nov 15, 2019

Copy link to clipboard

Copied

I apologize for this being a bit of review and/or not applicable for some, but we need to separate expected scratch space use from that which is unexpected.  Certainly some of you have already compared scratch space use in Photoshop 2020 against its predecessor and are reporting an increase in disk usage.  I'm concerned that configuration options may be changed / reset between versions, or that documents have changed leading to different results.

A bit of background on our architecture:

When working with large files, Photoshop will make an entire RAM copy of all the data associated with your document for each new History/Undo Step created.  This is optimized for speed, not space efficiency, as we imagine you don't want to wait for your History/Undo Steps to be saved.

Once a sequence of History/Undo Steps have filled your available system RAM, Photoshop must write the data to a scratch file, via our own memory management subsystem.  In fact it plans ahead and does this pre-emptively.  Again, this process is managed with an eye toward speed optimization, so large blocks of disk storage can be expected to be allocated at once.

The important takeaway from the above is this:  Your History/Undo Steps will be at least as large as the RAM your document uses in memory, which is affected by pixel width x height x channel depth and may multiply further depending on your use of layers.  If you're editing a document that takes 10 GB of RAM, then every step you perform that adds a state to your History panel will  use 10 more GB of RAM and ultimate disk space.

You can see how this could add up in a hurry.  For example, 50 History States x a 10 GB document could chew through 500 GB of disk space in 50 operations.

Things you can do to lower the use of RAM and scratch space are:

1.  Watch your History panel and determine how many History States you really need (i.e., how far back you want to be able to Undo).  If possible, configure your History States setting in your Preferences > Performance section to a smaller number.  If you're seeing a difference in the way Photoshop 2020 behaves vs. Photoshop CC 2019, bear in mind they don't use the same preferences and please check your HIstory States setting in both versions.

2.  This is of course not always possible but if you can, change some of your givens so that you're working with smaller documents.  This might mean using a lower ppi or channel depth, or collapsing some layers... 

That said, I'm already convinced that many of you already know the above implicitly and are experiencing a new problem.  I really need to be able to reproduce it so that we can understand the conditions in which it is occurring, which will lead us to being able to fix any problems.

I am still working to try to craft a document with which I can see a significant difference between the scratch space usage behavior Photoshop CC 2019 and Photoshop 2020, so if any of you can provide me such a document it would be extremely helpful in getting this issue resolved.  Again, my eMail is (squeeze out the spaces):  carboni@ adobe. com

Thanks!

-Noel Carboni
 Adobe QE Developer

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 15, 2019 Nov 15, 2019

Copy link to clipboard

Copied

Just FYI, I just opened a document typical of the working files I deal with on a regular basis. The file size is a little over 18GB. I made sure my history states were set to 50 (reasonable I think, and what I have been using on previous versions of PS) Upon open I simply went into quick mask and put down fifty dots, which in itself ate up 495GB of scratch disk space. I attempted then to go in and edit a blur in a smart layer and got the "out of scratch disk space" message. I don't think I'm alone in saying that I cannot work at a lower ppi and I need to preserve as many layers and their effects as I can. I need occasionally to go back and pick up a particular effect I made or do a drastic revision to an existing piece. If I flatten out layers I lose the ability to do that and would need to start from scratch on many images, which would waste much more of my time than waiting for the scratch disk to catch up, which is the problem I just spent money to improve, and is working just fine under PS 2019. If you need me to send you a document that is doing this, I think I could send you almost any file I've worked on in the past 5-10 years and you would get the same results. I will have to see what files I'm currently working on I can send your way, but this isn't a hard problem to replicate. This new way of allocating scratch disk space seems to be geared directly at people generating web content with relatively small file sizes. I appreciate you would like to improve the speed, but this scheme is unworkable. Adobe, please fix asap.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 17, 2019 Nov 17, 2019

Copy link to clipboard

Copied

Noel, I've emailed you a link to pick up the above mentioned file. Thanks for taking a look.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 17, 2019 Nov 17, 2019

Copy link to clipboard

Copied

We are having the same issue on ~2GB files. Temp files of ~60GB are being created in Photoshop 2020 with every change. Mac 10.14.6. Just ridiculous and totally unworkable. 

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 18, 2019 Nov 18, 2019

Copy link to clipboard

Copied

Thank you everyone and especially Phillip and Greg.

We have received a file with which we can reproduce the issue where we are seeing more than 10x additional scratch data stored from Photoshop 2020 than with Photoshop CC 2019.  We're actively looking into it.

-Noel Carboni
 Adobe QE Developer

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 18, 2019 Nov 18, 2019

Copy link to clipboard

Copied

Update:

We have identified a workaround that has little downside and should allow you to use Photoshop 2020 for your big projects without blowing out your scratch space:

Go into Preferences > Performance and check the [ ] Legacy Compositing setting, then Quit and restart Photoshop.

Please let me know here if you continue to have any issues with scratch file sizes after doing the above.

Thanks!

-Noel Carboni
 Adobe QE Developer

Votes

Translate

Translate

Report

Report
Community Beginner ,
Nov 18, 2019 Nov 18, 2019

Copy link to clipboard

Copied

I will add, we also work in non-destructive workflows as Phillip has described. And I agree, it might work for web-based art but not high-resolution for printing. Thank you Phillip for providing a file to Adobe for troubleshooting!

Votes

Translate

Translate

Report

Report
Community Beginner ,
Nov 18, 2019 Nov 18, 2019

Copy link to clipboard

Copied

Hi Noel,

Thank you very much for your assistance! I remember using this Legacy Compositing for another issue in 2019 but did not test it for 2020. We'll give that a shot and report back.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 19, 2019 Nov 19, 2019

Copy link to clipboard

Copied

Hi again Noel,

Thanks for getting on this so quickly. Finally had the opportunity to try the workaround late last night and so far seems to allow general usability for PS 2020. Appreciate you getting on this problem right away and getting us all working again. Look forward to the final fix on a subsequent release.

Thanks again.

Votes

Translate

Translate

Report

Report
New Here ,
Nov 19, 2019 Nov 19, 2019

Copy link to clipboard

Copied

This worked for me, thank you. The Legacy Compositing suggestion worked. Saved my life when I was rushing for a deadline. But please, Photoshop team work on a solution for PS2020. Even if not a bug, there is no reason why this should be acceptable when every other Photoshop version has never caused an issue like this. If it ain't broken, don't fix it.

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 20, 2019 Nov 20, 2019

Copy link to clipboard

Copied

Thanks for letting us know the workaround was effective.  Please rest assured we're working a real fix for the issue.

As far as "if it ain't broken, don't fix it" goes in general...  I'm afraid we can't always comply; there's a real need for us to move our architecture forward.

As an analogy, you may choose keep your car for a long time, put on new tires, maintain parts that wear, even paint it...  Great!  It continues to do what it did.  But now and again you may crave a new model because new ones have an updated engine design under the hood to give you capabilities you did not have before.

In similar fashion, we need to update our underlying compositing engine design in order to be able to deliver new features and take advantage of modern computer hardware, not to mention run on new platforms.  You may not see the advantages of our new compositing engine in obvious ways just yet, but you will.

Thanks again and as always for your understanding and patience - and especially for your help identifying problems like this one - as we strive to improve one of the most complex pieces of software on the planet.  šŸ™‚

-Noel Carboni
 Adobe QE Developer

Votes

Translate

Translate

Report

Report
Engaged ,
Nov 20, 2019 Nov 20, 2019

Copy link to clipboard

Copied

Noel   That's an excellent explanation and clarification on things moving forward in Photoshop. Thanks so much.
Rosa

Votes

Translate

Translate

Report

Report
New Here ,
Nov 20, 2019 Nov 20, 2019

Copy link to clipboard

Copied

Absolutely. I am happy enough to have a temporary solution for now that you have provided us with. Looking forward to the fix for this issue, cheers.

Votes

Translate

Translate

Report

Report