Skip to main content
Participating Frequently
May 5, 2021

P: Desktop Memory leak on M1 Machines

  • May 5, 2021
  • 57 replies
  • 14864 views

Hi!

 

I am a software developer. Recently, my Lightroom CC (version 4.2 - 20210301-0713) is very slow . A close look at activity monitor reveals that the app consumes too many threads and memory (attached photos) which freezes the app.

 

 

@Rikk Can you help me forward this to the development team?

 

Thank you so much!

57 replies

Known Participant
May 6, 2022

New Studio Ultra with 128GB ram (20cpu 48gpu), current versions of all OS (Monterey v12.3.1) and software (LR v11.3.1, PS v23.3.1). Despite setting memory limits in Photoshop preferences (and what little I can control with Lightroom), both PS and LRc will routinely and quickly gobble up ram to the point that I get an OS error ('out of application memory'). LR is the bigger offender.

 

This just happened to me with LR open and being used (cloning headshots, maybe 60x/image), PS closed; ram usage shot up to 98GB over the course of maybe 30 minutes, and then I got the OS error, requiring me to close LR. Oddly, Activity Monitor showed 0.0 bytes of memory being used. PS set to 55% memory limit; when open editing large panoramas, it will often exceed that and head toward 100+GB; unfortunately LR does not allow you to limit memory usage, although it's a moot point since PS does not respect the limits set, anyway.

 

Three screenshots of Activity Monitor from the last several days included below.

 

This is becoming way worse than the years-old memory leak on Intel machines (longtime user, coming from 2021 5k iMac i9 w/128GB). One would think that having ample ram would help issues like this, but it seems to matter not.

Participant
May 6, 2022

How come are we still adressing this? How come this is still an issue? 

 

It seems even worst now, even without GPU aceleration LR just keeps wanting more and more RAM, makes no sense.

 

 

Inspiring
April 7, 2022

Just giving this a +1. I've had the issue on my old Intel iMac and had hoped moving to an M1 would help. No luck; using an M1 Pro with 16GB RAM and I'm having the exact same situation. LR Classic uses 15-16GB RAM and won't let it go until I quit and restart. 

 

Adobe--this is so frustrating. I've posted about this memory leak on these forums before. 

Participant
March 6, 2022

New Macbook 16 with 16GB RAM.  I iinstalled the Lightroom (Cloud) from the adobe creative cloud.  When I open the software the RAM is pegged to the point where I can't open anything else without massive warnings about SWAP usage because RAM is pegged. 

 

If I close everythiing else and just use LR, I can get by but that's not acceptable, definitely something wrong with its memory usage. 

Participant
February 16, 2022

would this help with illustrator/

 

Participating Frequently
January 13, 2022

Providing a little more context which may be helpful. 

First: Lightroom 5.1 (20211204-1710-0e71941 Build). MacOS 12.2 Beta (21D5039d). (Yes, it's a beta. The same problems occurred on 12.1. I upgraded to see if it fixed them; it didn't.)

 

Test. I put 30 D7500 NEFs in a folder in Lightroom and Apple Photos, none with any existing adjustments, and then ran the following test: start at the first image, hit the 'auto' button for adjustments, scroll through each image as quickly as possible and at the last one again hit 'auto'. So effectively that's browse a folder of 30 images and adjust two. And when I say folder I mean it's a normal dumb folder in my main library with only these images in it. Before running the test I switch to the folder, quit the app, then restart it so it opens directly there with, hopefully, no other images loaded in memory.

 

And one additional test for Lightroom: I ran it again with 'Use Graphics Processor' in Preferences > Performance switched to 'Off'. For the first run it was set to the default of 'Auto'.

 

Results: Photos consumed 1.14 GB of memory; Lightroom with use graphics processor switched to auto used 7.6 GB; with it switched to off, 1.45 GB. 

 

Hypothesis: there may be a leak or bug with the M1 series and their unified memory architecture when LR's use graphics processor setting is switched to auto.

Participating Frequently
January 12, 2022

Also, you can see clearly from the memory pressure graph where I opened Lightroom.

Participating Frequently
January 12, 2022

I'm running into memory pressure from Lightroom too on an M1 Pro 16GB. Here's a screenshot showing it ballooning to 8.8GB after opening it, browsing through a few folders, and lightly editing two files (no local corrections). This is the only app that seems to put the Mac under this kind of stress. 

Inspiring
January 9, 2022

Hey there, 
I am very upset with my new iMac 2021 16/256 machine. I just use adobe photoshop and lightroom classic which taking too much ram and using swap memory. I talked with adobe support team they weren't able to fix my issue. 
Any idea? what i can do in this case? 
Thanks 

Known Participant
May 7, 2022

M1 Mac Studio Ultra with 128gb ram.  Monterey 12.3.1.  LR Classic 11.3.1

I was just editing some photos in LR Classic and got out of memory errors and LR froze.  I checked Activity Monitor and I didn't think to look directly at LR for its memory usage, but saw Memory Used at 108gb.  Activity Monitor showed LR not responding, however after a minute or less LR unfroze and I quit LR.  Looking at Activity Monitor it seems that LR may have grabbed about 70gb of memory.

I had been using a 2015 iMac with 32gb ram, not on Monterey, and never got that type of message, just LR was slow sometimes.

Known Participant
May 8, 2022

The latest version of Lighroom Classic (11.3.1) is very unstable.  It regularly crashs upon closing the program jusrt for me (runnin a 2021 14" MBP).

 

Part of the issue is the programing language that Adobe uses (Lua) and (IMHO) part that some of the apps/applets that Creative Clod (misspelled purposely) installs are still Intel-based and rely upon Rosetta 2. It just seems mixing Intel and Apple Silicon apps by Adobe just don't play well together.

mikebrodt
Inspiring
January 8, 2022

I cna concur that there seems to be some kind of memory issue. I was using Lightroom CC for about an hour and noticed the fan on my M1 Max 14" MacBook Pro starting to spin (a extremely rare occurance I've noticed). I checked that activity monitor and Lightroom was using 32GB of memory. I was able to quit and relaunch and it was back down 6.49 GB, but quickly climbed to 8.15 without me doing anything at all in the application. I'll keep an eye on it.

fastson99
Participant
December 3, 2021

Editing one RAW 25MB image with "Lightroom 5.0 arm64 [ 20211012-0002-a1240ed ] (Oct 12 2021)" then closing Lightroom (Memory pressure graph).

 



Disabling GPU acceleration for image processing makes the software behave more normally.