Skip to main content
Participating Frequently
February 2, 2023
Question

Memory endless growth Mac M1

  • February 2, 2023
  • 20 replies
  • 3270 views

I have a MacBook Pro 16gb ram and 500g disk. I often need to use it to convert a large amount of ARW sony raw pics to jpeg. I use script to do it in Photoshop in batches of thousands of pics.

My problem is that no matter what operting system (just updated to Ventura) and no matter what photoshop version (running 24.1.1) the system keeps on eating memory up to 80-90Gb than it restart itself.

I have had already a tech from Adobe connect to my pc and went trough the dance of uninstall reinstall a dozen times. System still does the same, memory keeps growing and growing untill it reset the pc.

 

Same job done on a 5 years old PC running windows works for days without a prob.

 

Since i found a lot of post similar to mine with ever growing memory in photoshop or in other app like lightbridge.

 

i have a question for tech dept.

 

[ Profanity removed by Moderator ]

This topic has been closed for replies.

20 replies

Jeff Arola
Community Expert
Community Expert
February 3, 2023

What year is your MacBook Pro?

 

When it gets near to shutting down are the fans ramped up?

 

How much free space is on your drive?

 

Is that an SSD, Fusion or mechanical drive?

 

Are the jpegs being saved to the  internal drive or external drive?

 

Your using File>Scripts>Image Processor for the conversion?

Participating Frequently
February 4, 2023

2022 MacBook Pro M1

200 Gb

raw and jpeg are read and saved on ssd attached to usb-c ports

yes using file-->script-->image processor

Kevin Stohlmeyer
Community Expert
Community Expert
February 6, 2023

Depending on your file sizes (especially RAW), 200 GB may not be enough to run bulk items in a script. That can get eaten away with temporary usage quickly. 

Participating Frequently
February 3, 2023

Will try, thank you.

Looking around the forum i am not the only one with this problem.

 

https://community.adobe.com/t5/lightroom-ecosystem-cloud-based-bugs/p-desktop-memory-leak-on-m1-machines/idi-p/12419270

TheDigitalDog
Inspiring
February 3, 2023
quote

Will try, thank you.

Looking around the forum i am not the only one with this problem.

 

https://community.adobe.com/t5/lightroom-ecosystem-cloud-based-bugs/p-desktop-memory-leak-on-m1-machines/idi-p/12419270


By @Corrado282216293d9h

That URL concern LR/CC and compared to the user base, this statement is accurate:

This is not a commonly reported issue. 

Author “Color Management for Photographers" & "Photoshop CC Color Management/pluralsight"
TheDigitalDog
Inspiring
February 3, 2023

I tried to use lightroom a month ago and it was doing exactly the same, memory out of control after few hours working.

 

This also shouldn't be the case and points to some other issue on your Mac. 

Try logging into another user account (you may need to make one); still a problem? 
Try starting up in Safe mode (hold down Shift Key when booting), still a problem? 

Author “Color Management for Photographers" & "Photoshop CC Color Management/pluralsight"
Participating Frequently
February 3, 2023

since it converts them one a the time, the pic is 50mb, 3-4 of them are around 200mb, i wonder where all the rest of thosse 50gb are used.

I tried to use lightroom a month ago and it was doing exactly the same, memory out of control after few hours working.

TheDigitalDog
Inspiring
February 3, 2023

Converting pic's is working on them.

Photoshop has to have 3-5X each open document in memory. Or scratch disk. 

A product that is far more efficient in batch processing (ARW Sony raw to JPEG): Lightroom Classic. 

Author “Color Management for Photographers" & "Photoshop CC Color Management/pluralsight"
Participating Frequently
February 3, 2023

Forgot to say, using photoshop, memory pressure gets in the red in about 1,5 hours,. 8 sips instances stayed in the reen the whole time.

Participating Frequently
February 3, 2023

It sounds like it is my fault. 

I am not working on pics, just convertig them, really do not understand why it should use 50gb of memory. In the script i unchecked the flag "open pic" so it sholdn't even open it, just convert.

Today i really got annoyed by the continuous crashes. Uninstalled photoshop and did what i had to do with sips from command line. Guess what i opened 8 terminals all converting different directories, i was able to convert 15000 50Mb ARW pics in one afternoon, no crashes, no memory leaks, it just worked like photoshop should if it wasn't broken.

D Fosse
Community Expert
Community Expert
February 3, 2023

All I can see from your posted pictures is that Photoshop uses 12 GB in one and 48 GB in the other. All well within normal.

 

But earlier you said,

"GPU disabled, if i enable it memory grows faster and faster".

Maybe that's what the real issue is here. That would point to a bug in the GPU driver code (in this case MacOS code). What "unified memory" means is simply that the GPU uses system memory. That can often translate to half of the available memory under normal circumstances, and with only 16 GB installed, that's not a lot to go around. If Photoshop has already claimed more than the GPU needs, you could get crashing - not in Photoshop, but the GPU.

 

I'd monitor memory usage closely - don't look at the numbers, look at the graphs. That might give a clue.

Participating Frequently
February 3, 2023

Yes, you can see it in the pics i posted. It does it with Ventura and it did it maybe even worse with Monterey.

TheDigitalDog
Inspiring
February 3, 2023

So Activity Monitor (which shows all processes and memory use) shows it is Photoshop eating all the memory? 
I ask because I saw a similar issue with memory; Activity Monitor ended up showing it was iCloud and syncing contacts eating up all the memory. Never saw this prior to Ventura. 

Author “Color Management for Photographers" & "Photoshop CC Color Management/pluralsight"