Skip to main content
Known Participant
November 28, 2023
Question

Memory Leaks (Or what appear to be)

  • November 28, 2023
  • 15 replies
  • 6725 views

Lightroom Classic v13.0.1 

 

Appears to suffer from huge memory leaks which after a few minutes use bog the my machine down so much that I have to wait seconds at a time for the mouse to respond! 

 

Below is the system info as reported by Lightroom Classic just after opening and then again a few minutes later after editing some average sized photographs. (Taken as RAW on a Canon EOS 5D MKIV)

 

You'll see the difference in memory usage. It's just a joke!! 

 

The only cure I've found is to close Lightroom, wait for my machine to clear itself up and then open it again. Hardly practical when you have 300 odd photos to edit and you're having to close the application every 3 or 4 pictures...

 

I chatted to some disinterested 'technical support' person who's only suggestion was to uninstall and re-install Lightroom. I didn't have time then, but have done this since and guess what - it made no difference whatsoever.

 

I have a pretty powerful machine, 20 cores, 32GB RAM, acres of disk space and the app and catalog live on SSD.

 

Has aonyone else come across this issue with the most recent versions of Lightroom Classic? It's only started happening in the last couple of releases....

 

One other thing I notice is that on the odd occasion when I use the AI Demoise feature, sometimes it flies through in a few seconds and does (usually) a pretty good job at cleaning up noise artifacts, but other times it can take several minutes to do the same thing...? Why??? If I look at the GPU usage when the Denoise feature is active, it's maxed out at 100% regardless of whether the image is cleaned up in seconds or minutes.

 

Any thoughts appreciated!

 

Lightroom Classic version: 13.0.1 [ 202310121438-d2af310c ]
License: Creative Cloud
Language setting: en
Operating system: Windows 11 - Business Edition
Version: 11.0.22631
Application architecture: x64
System architecture: x64
Logical processor count: 20
Processor speed: 3.6GHz
SqLite Version: 3.36.0
CPU Utilisation: 0.0%
Built-in memory: 32682.0 MB
Dedicated GPU memory used by Lightroom: 1455.5MB / 8151.5MB (17%)
Real memory available to Lightroom: 32682.0 MB
Real memory used by Lightroom: 1321.5 MB (4.0%)
Virtual memory used by Lightroom: 3140.0 MB
GDI objects count: 850
USER objects count: 3274
Process handles count: 3467
Memory cache size: 8.9MB
Internal Camera Raw version: 16.0 [ 1677 ]
Maximum thread count used by Camera Raw: 5
Camera Raw SIMD optimization: SSE2,AVX,AVX2
Camera Raw virtual memory: 82MB / 16341MB (0%)
Camera Raw real memory: 223MB / 32682MB (0%)
System DPI setting: 144 DPI (high DPI mode)
Desktop composition enabled: Yes
Standard Preview Size: 1440 pixels
Displays: 1) 3840x2160
Input types: Multitouch: No, Integrated touch: No, Integrated pen: Yes, External touch: No, External pen: No, Keyboard: No

Graphics Processor Info:
DirectX: Radeon RX 5500 XT (31.0.22023.1014)
Init State: GPU for Export supported by default
User Preference: Auto

-----------------------------------------

Lightroom Classic version: 13.0.1 [ 202310121438-d2af310c ]
License: Creative Cloud
Language setting: en
Operating system: Windows 11 - Business Edition
Version: 11.0.22631
Application architecture: x64
System architecture: x64
Logical processor count: 20
Processor speed: 3.6GHz
SqLite Version: 3.36.0
CPU Utilisation: 0.0%
Built-in memory: 32682.0 MB
Dedicated GPU memory used by Lightroom: 7598.3MB / 8151.5MB (93%)
Real memory available to Lightroom: 32682.0 MB
Real memory used by Lightroom: 13475.8 MB (41.2%)
Virtual memory used by Lightroom: 17425.0 MB
GDI objects count: 1342
USER objects count: 4184
Process handles count: 5225
Memory cache size: 2017.4MB
Internal Camera Raw version: 16.0 [ 1677 ]
Maximum thread count used by Camera Raw: 5
Camera Raw SIMD optimization: SSE2,AVX,AVX2
Camera Raw virtual memory: 2078MB / 16341MB (12%)
Camera Raw real memory: 2344MB / 32682MB (7%)
System DPI setting: 144 DPI (high DPI mode)
Desktop composition enabled: Yes
Standard Preview Size: 1440 pixels
Displays: 1) 3840x2160
Input types: Multitouch: No, Integrated touch: No, Integrated pen: Yes, External touch: No, External pen: No, Keyboard: No

Graphics Processor Info:
DirectX: Radeon RX 5500 XT (31.0.22023.1014)
Init State: GPU for Export supported by default
User Preference: Auto

 

 

15 replies

Known Participant
October 29, 2024

Just missed a call from Adobe support. (A week or so since I tried to get some support....) So I've e-mailed them. Thought I'd post that e-mail here too: 

 

Hi,

 

I was in a meeting when you called. Sorry about that.

 

Since raising this call I have spent a lot of time sorting out my catalog and investigating advice in the forums and on YouTube regarding performance settings to try and improve my installation of Lightroom.

 

I am an IT professional and have everything that people are suggesting covered. I do not subscribe to the common view (and the approach you have asked me to take) that I just need to uninstall and re-install Lightroom. There are too many people stating they have the same issue for it to be just a corruption somewhere in my particular build. Besides I have done this in the past and it made no difference.

 

It is clear to me, and a good many of your users that Lightroom is fundamentally flawed when it comes to performance and reliability. Adobe’s focus is on getting new AI features to market rather than supporting the hoardes of people that rely on their software to make a living. Every release seems to bring more bugs, quirks, performance issues and crashes than the last and Adobe’s senior management team, the people that should be concerned about the image of the company and customer satisfaction, don't care it seems.

 

I installed v14.0.1 as soon as it was available – as it was a critical bug fix for v14.0.0 that was rushed out before being fully tested. It has completely crashed on me twice and uploaded crash reports – that you guys just ignore. It still exhibits massive memory usage (memory leaks?) meaning I can process 3 or 4 images before having to close the application to release the memory and allow my machine to recover before opening it again. Do you have even the remotest idea how unbelieveably annoying that is when you have 300 or more pictures to get through?

 

I’m no longer interested in speaking to you on the phone as I honestly believe you won’t be able to resolve my problem. The only way you’ll be able to do that is to release a truly re-thought, vastly re-engineered and tested (ever heard of testing???) version of Lightroom Classic.

 

I am so disappointed that I have to pay you on a subscription basis for this software and that you think it is acceptable to continue charging me for something that simply isn’t fit for purpose anymore. Before v13 I loved Lightroom. Since then you’ve broken it and appear to have no plans to fix it again.

 

Please escalate this issue to a relevant director within your company so that I know they have at least heard my view (shared by many other customers too). It would be interesting to see what response they might offer. I won’t hold my breath though. Adobe does present itself as a faceless behemoth with absolutely no care for the little person other than getting money out of them. A quick look at your ratings on TrustPilot speaks volumes about your customer ‘care’.

 

Regards,

 

Andrew

 

[abuse removed by moderator]

 

Inspiring
October 22, 2024

I am suffering the same memory leak problem with LRC 13.5.1. This started a week ago. Since then on 4 occasions the OS (MacOS Senoma 14.0) has popped up the Force Quit window and told me I am out of system memory and I need to close some applications. I need to close enough to restart my mac.

 

I am using a Mac Studio that I bought week one. It has been working great ever since. As I said, the current problem just cropped up in the last week.  From time to time in the past things have gotten slugish as other have noted, and a reboot would fix it, but nothing like this which appears to be a sever memory leak with LRC. 

 

I just restarted my mac and an hour later, Activity Monitor was showing LRC using about 70 GB of system memory and it has been sitting in the dock the whole time. Now, not quite 2 hours later LRC is using 105 GB and still climbing. With 128GB of memory, I figure the system will lock up in another 30 minutes. As I said, LRC has been sitting in the dock doing nothing but eating memory since my restart.

 

Here is the LRC system report

Lightroom Classic version: 13.5.1 [ 202408271704-d15d09cd ]
License: Creative Cloud
Language setting: en-US
Operating system: Mac OS 14
Version: 14.0.0 [23A344]
Application architecture: arm64
Logical processor count: 20
Processor speed: NA
SqLite Version: 3.36.0
Built-in memory: 131,072.0 MB
Dedicated GPU memory used by Lightroom: 67.4MB / 98,304.0MB (0%)
Real memory available to Lightroom: 131,072.0 MB
Real memory used by Lightroom: 114,044.6 MB (87.0%)
Virtual memory used by Lightroom: 828,184.6 MB
Memory cache size: 40.4MB
Internal Camera Raw version: 16.5 [ 1954 ]
Maximum thread count used by Camera Raw: 5
Camera Raw SIMD optimization: SSE2
Camera Raw virtual memory: 213MB / 65535MB (0%)
Camera Raw real memory: 214MB / 131072MB (0%)

Cache1:
NT- RAM:0.0MB, VRAM:0.0MB, Combined:0.0MB

Cache2:
m:40.4MB, n:0.0MB

U-main: 152.0MB

Standard Preview Size: 2048 pixels
Displays: 1) 2560x1440

Graphics Processor Info:
Metal: Apple M1 Ultra
Init State: GPU for Export supported by default
User Preference: Auto
Enable HDR in Library: OFF

Application folder: /Applications/Adobe Lightroom Classic
Library Path: /Users/Lightroom/Lightroom Catalogs/LR Catalog/LR7 Master/LR7-Master-3-v13.lrcat
Settings Folder: /Users/cvdunton/Library/Application Support/Adobe/Lightroom

Installed Plugins:
1) AdobeStock
2) Aperture/iPhoto Importer Plug-in
3) Flickr
4) Nikon Tether Plugin

Config.lua flags:

 

What the heck is going on? And why did it start just in the last week for me?

 

My Mac Studio has an M1 Ultra cpu, 128GB system memory, 8TB SSD storage. The only thing I didn't max out was the extra 10 GPU's. 

 

Thanks,

Charlie

 

KR Seals
Community Expert
Community Expert
October 22, 2024

Did this issue start with your update to Mac OS 14?

 

Ken Seals - Nikon Z 9, Z 8, 14mm-800mm. Computer Win 11 Pro, I7-14700K, 64GB, RTX3070TI. Travel machine: 2021 MacBook Pro M1 MAX 64GB. All Adobe apps.
Inspiring
October 22, 2024

No. I have been on 14.0 for a year. This started a week ago. I'm wondering if it is tied to when I updated LRC from 13.5 to 13.5.1. Later today I plan to update LRC to 14.0.1 and update to mac Sequoia. That is pretty much all I can do. 

Charlie

Participant
October 3, 2024

So I have a brand new apple studio with the M2 Ultra chip and 8tb of ssd with about 5.5 tb used. The "running out of application memory" error appeared after Lr had been crawling and I tried to close down and back up.  I closed a bunch of tabs and deleted a bunch of stuff and the problem occurred again last night, 3 nights after the first incident. 

 

In an apple support call I opened Lr along with ON1 and just having Lr open and not using it the memory pressure built substantially over the course of ten minutes on the call. No other applications or processes were consuming much memory at all. Thus the technician suspects a memory leak. 

Participating Frequently
September 29, 2024

I wanted to give everyone an update. I have tried a ton of things, switching out memory, upgrading the PSU, reinstalling drivers, updating BIOS, upgrading CPU, but none of them fixed the problem. I even tried disabling GPU support entirely in the performance options. 

 

BUT I did upgrade from a Vega 56 8GB to a 7900GRE 16GB and my crashing has stopped. I can simply power through editing and the program works fantastically, though Lightroom easily uses up 15.5GB of VRAM at any given time, sometimes it pops up to 16GB, pauses and then drops back down to 15-15.5 GB. 

I now have no crashes when syncing AI masks, and I'm able to do denoising and seemingly everything else without problems. Please note that I have none of these problems on my slow Mac M1 (7 core GPU) with only 16 GB of total shared memory, while I was having crashes on my much faster pc with 8GB of VRAM and 80GB of RAM. Is this an okay solution to spend $560 USD on a GPU due to a programming error in lightroom, no. But did it solve it? Yes. And truthfully it was worth every penny to be able to just get back to work again. 

KR Seals
Community Expert
Community Expert
October 22, 2024

Is your Mac still on OS 13.x?

 

Ken Seals - Nikon Z 9, Z 8, 14mm-800mm. Computer Win 11 Pro, I7-14700K, 64GB, RTX3070TI. Travel machine: 2021 MacBook Pro M1 MAX 64GB. All Adobe apps.
Known Participant
September 28, 2024

Here's an update....

I have recent replaced my older AMD graphics card with an NVIDIA RTX4070 and it's made a world of difference to denoise, but no difference to the 'memory leak' issue.

I have around 27000 images in my library (which I don't consider to be that many compared to some professional photographers) which is taking about 30GB of disk space. After reading a few articles I decided to split this into two. My personal images in one library and my commissioned images in another. The commissioned image library is around 6GB and is working more smoothly than before. The memory issue still persists but the unbearable lag during editing operations has improved.

It'd be interesting to see if anyone else experiences any improvement if they do the same....

Participant
September 28, 2024

I'm having the same issue on MacBook Pro M1 Pro.

 

Been trying to make my way through a big edit and every 4-6 photos it just starts to grind to a halt, taking a minute or two just to paste a preset. It's making editing a real chore and taking me forever to get work done. Adobe really needs to test this stuff before pushing updates to paying working professionals. 

I've tried downgrading the version, clearing caches, optimising catalogs and turning off gpu accelleration yet nothing is working. If anyone has any solutions it would be massively appreciated.

 

I cannot wait for someone to come out with a good alternative to Lightroom where I can port my catalogs over. I'm so done with this constant mess when just trying to work. 

berliner_ffm
Inspiring
September 28, 2024

I am having the same problem. Win 11, Nvidea RTX3070ti. As soon as  I use any AI-Masking, AI-Denoise, Lens Blur memory usage will go up after 2-3 images to 15 GB and will not go down lower than 10 GB even when return to the Library and leaving the application idle for a couple of minutes.

Tried deinstalling LR and reinstalling including resetting the preferences. Made sure the graphics driver is up to date.

 

Catalog and previews are on a local SSD.

Example:

LRC is started: Memory usage is about 1.5GB

Change to Develop Module: Memory usage is about 2 GB

Aktivated Lens Blur: Memory usage jumps to 12 GB.

And I am not using large files. I am talking about 20MP Raw files.

 

Deactivating GPU acceleration does not change this behaviour.

This makes LRC almost unusable lately which is really annoying, since it is my preferred raw editor.

Known Participant
September 19, 2024

Do Adobe take any notice of anything that anyone posts in these forums? I feel we're all just having a chat about appalling software performance but that the people that SHOULD be having input to this and reacting to it are just not there and couldn't care less. They're getting their subscription fees so why do they need to bother....   I'm hearing a lot of people are starting to move away from Adobe now.

Participating Frequently
September 18, 2024

Hi, I wanted to jump in on this and say that I'm having the same problem. If using my gpu at all, the performance starts significantly quicker than without using it, then eventually slows down and then fails completely after an undetermined amount of time. If I use several masks it fails quicker, if using very little masks it could go hours without problems, but nomatter what it fails and causes my GPU to crash. Using denoise almost always causes instant crashing.

I have reinstalled windows multiple times, used different driver sets, used different GPU settings in AMD's software (even turning off all "extra" features), and still no luck. 

I have a Mac M1 that performs significantly slower than my PC but has never failed in this way before. Has anyone found a solution other than turning off the GPU in Lightroom Classic?

Community Expert
September 15, 2024

If I read the system report correctly you are running a very old driver version for this card (23.1014). The newest driver is from July this year and has version 24.7.1. I would try updating the driver first. Also from the info I can find this is a fairly old card with only 4GB of memory. Windows doesn't automatically update this driver. From what I read there is also a setting you're supposed to do to make this run well but I have no experience with these cards.

Known Participant
September 16, 2024
quote

If I read the system report correctly you are running a very old driver version for this card (23.1014). The newest driver is from July this year and has version 24.7.1. I would try updating the driver first. Also from the info I can find this is a fairly old card with only 4GB of memory. Windows doesn't automatically update this driver. From what I read there is also a setting you're supposed to do to make this run well but I have no experience with these cards.


By @Jao vdL

Hi. Thanks for your response. Since my original post late Nov 23, I've invested £500 in a new Gigabyte/NVIDIA 4070 GPU with 12GB RAM installed as I had a suspicion this might be part of my problem. It's made a massive difference to the execution time for Denoise and in exporting images. It has not however made any difference whatsoever to the 'memory leak' problems. I still have to close LR every 3 or 4 images and restart it otherwise performance is so bad I cannot sensibly process my pictures. It's driving me nuts! I've also noticed more recently that I get a lot of 'Unknown Error' messages popping up when processing. During export operations I get one or more 'Image could not be exported' messages. Lightroom is a truly lousy product at the moment. Here's my latest system info:  

 

Lightroom Classic version: 13.5.1 [ 202408271704-d15d09cd ]
License: Creative Cloud
Language setting: en
Operating system: Windows 11 - Business Edition
Version: 11.0.22631
Application architecture: x64
System architecture: x64
Logical processor count: 20
Processor speed: 3.6GHz
SqLite Version: 3.36.0
CPU Utilisation: 0.0%
Power Source: Plugged In
Built-in memory: 32682.0 MB
Dedicated GPU memory used by Lightroom: 2710.6MB / 12012.0MB (22%)
Real memory available to Lightroom: 32682.0 MB
Real memory used by Lightroom: 1970.1 MB (6.0%)
Virtual memory used by Lightroom: 5372.6 MB
GDI objects count: 830
USER objects count: 3049
Process handles count: 2465
Memory cache size: 14.8MB
Internal Camera Raw version: 16.5 [ 1954 ]
Maximum thread count used by Camera Raw: 5
Camera Raw SIMD optimization: SSE2,AVX,AVX2
Camera Raw virtual memory: 577MB / 16341MB (3%)
Camera Raw real memory: 708MB / 32682MB (2%)
 
U-main: 116.0MB
 
System DPI setting: 144 DPI (high DPI mode)
Desktop composition enabled: Yes
Standard Preview Size: 1440 pixels
Displays: 1) 3840x2160
Input types: Multitouch: No, Integrated touch: No, Integrated pen: Yes, External touch: No, External pen: No, Keyboard: No
 
Graphics Processor Info: 
DirectX: NVIDIA GeForce RTX 4070 (32.0.15.6081)
Init State: GPU for Export supported by default
User Preference: Auto
Enable HDR in Library: OFF
 
Application folder: 
Library Path: 
Settings Folder: 
 
Installed Plugins: 
1) AdobeStock
2) Flickr
3) Nikon Tether Plugin
 
Config.lua flags: 
 
Adapter #1: Vendor : 10de
Device : 2709
Subsystem : 40ee1458
Revision : a1
Video Memory : 12012
Adapter #2: Vendor : 1414
Device : 8c
Subsystem : 0
Revision : 0
Video Memory : 0
AudioDeviceIOBlockSize: 1024
AudioDeviceName: $$$/dvaaudiodevice/SystemDefaultAndEffectiveDeviceName=System Default - Speakers (Realtek(R) Audio)#{comment}DVAAU-4201250: Open the audio hardware preferences page.
AudioDeviceNumberOfChannels: 2
AudioDeviceSampleRate: 48000
Build: LR5x120
Direct2DEnabled: false
 
Community Expert
September 16, 2024

Wow. Yeah that would drive me insane too! I see no major red flags in this report. Your driver is up to date (check that you're using the studio version and not the game ready version though). There is one minor red flag that will lead to some slow down but should be nothing as crazy what you describe. That really sounds like a much deeper issue. It says this in your report:

 
Standard Preview Size: 1440 pixels
Displays: 1) 3840x2160
 
That is a sign that your standard preview size is set wrong and will lead to lightroom having to rerender your previews constantly leading to many seconds lockups when browsing images so definitely something to fix but it will likely not fix the bigger problem. In catalog settings make sure your standard preview size is set to (Auto) which should select a preview size in the 3000 pixel range. Large enough to be displayed full screen on your main display. No clue why Lightroom allows you to set this too low anyway.