Skip to main content
Known Participant
April 1, 2021
Question

Error "Not enough memory (RAM)" while batch processing in Photoshop 22.3.0 running on Windows 10

  • April 1, 2021
  • 4 replies
  • 480 views

Hi All, 

 

I have a problem with Photoshop probably related to the RAM. I am trying to run a batch process in Photoshop, but after the processing of about 200 images Photoshop crashes. During one of the many crashes that I had, I saw the following error message “Could not build a preview because there is not enough memory (RAM)”. My machine has 32GB of RAM and when I run the batch process only 31% is used. The Photoshop version that I have installed is 22.3.0, and I am using Windows 10.

 

I have already posted this problem one year ago. We could not find a solution, and I gave up. But now, I need to use Photoshop again, and I need to fix this bug asap. This is the link to the old post: https://community.adobe.com/t5/photoshop/error-quot-not-enough-memory-ram-quot-while-batch-processing-in-photoshop-v21-1-2-running-on-windows/td-p/11088559

 

Simone

4 replies

Participant
November 6, 2025

I have the same problem. In a bigger scale but still the same. 
I run a batch process over 1400 VERY large (meaning 340 Megapixel each) files on a machine with 512GB RAM. 

The batch opens one image, processes it and closes the image. 

The problem is, that Photoshop NEVER releases RAM even after images are closed. It only releases RAM when PS is closed. 
But how can you ever batch-process many files like this? It is doomed to crash from the beginning... because eventually the RAM will be full. It's a very flawed design - at least for batch processing. 

I am on PS 27.0.0

D Fosse
Community Expert
Community Expert
November 6, 2025

@AVT Airborne Sensing 

This is normal and by design. Memory is recycled and reused when the file closes, but it is not released until the application exits.

 

This is in fact what makes rapid batch processing possible in the first place.. Requesting memory from the operating system for every file opened would be very much slower.

 

If you watch computer resources during a batch, you'll see that total memory/scratch disk never exceeds the one single biggest file. The only thing you need to pay attention to is that the batch closes one file before opening the next.

crocisAuthor
Known Participant
April 12, 2021

I have installed Photoshop on a second PC and I have run the same batch process. Also on this PC Photoshop crashes after the processing of about 200 images.

 

The batch process consists of actions that apply Photoshop color transformations and save the results on the disk. I am not using "external" color transformations.

 

I have tried to upload the actions on this forum, but it is not allowed.

crocisAuthor
Known Participant
April 10, 2021

Can anyone help me please?

JJMack
Community Expert
Community Expert
April 1, 2021

Does your Batch process, process one image at a time?  Process the image save an output image files close all open documents and then process the next image file to be processed.  Or does your batch process open all the image files in the batch to create some kind of huge composite of all the images.   That type of Batch processing I could see you running out of machine resources before completing the batch process.  How many document are open in Photoshop when you run out of some machine resource.  Is this a bug or are you simply running out  of some requires machine resource.

JJMack
crocisAuthor
Known Participant
April 3, 2021

Hi JJMack,

 

Thank you for your reply!

 

I have just checked my batch process and the actions that are called. The batch process processes one image at a time. It opens each image, processes it saving the results of different actions to disk, and at the end, the image is closed. When the batch process is running, only one image is opened and visible in Photoshop.

 

Any other suggestions on how to fix this bug?

 

Simone

 

crocisAuthor
Known Participant
April 3, 2021

I have forgotten to mention, that the batch process calls different Photoshop transformations. No external transformation is applied.