luk_chmela's profile

12 Messages

 • 

320 Points

Mon, Dec 31, 2018 12:54 PM

Lightroom Classic: Serious memory leak

For a long time I am troubled by a huge memory consumption of my system. Today I digged more deeply into what is going on with all the memory being used by no processes. Windows 10 Task Manager was showing more than 21GB of RAM used. However, there were only three memory hungry processes listed in the Processes tab: Adobe Lightroom Classic CC eating up 3.5GB, Firefox 2.5GB and Adobe Bridge with roughly 1GB. All the processes listed could add up to no more than 8GB of memory.

In my next step I tried to follow this article: https://aloiskraus.wordpress.com/2017/02/26/the-mysterious-lost-memory-which-belongs-to-no-process/

RAMMap was showing 17.7GB in Active Process Private memory. It was clear from the Processes tab that all the remaining memory was allocated by the "MemCompression" process. I then decided to exit Lightroom Classic CC to see what hapens. Whooping 12GBs were released instead of the 3.5GB shown in Task Manager. When starting Lightroom again, 3.5GB is shown in Task Manager as before and the same amount shows in RAMMap under Lightroom's private memory.

I am using Lightroom Classic CC on my developer notebook with 32GB of RAM and do not currently have another machine with less physical memory available to test the behavior. In the time of discovering the issue I was working in the Development module with a set of 2 500 photos filtered to a view of only 224 images.

Responses

116 Messages

 • 

1.8K Points

3 y ago

If you want to try this with less memory, you can limit the amount using the system configuration utility. Run sysconfig, select the Boot tab, then click advanced options. You can change the number of procs and the maximum memory. Then reboot. Make sure to set it back of course.

29 Messages

 • 

522 Points

3 y ago

Lightroom had this memory issue for as long as I can remember on the Mac platform too and it is still there in 8.1 Lightroom Classic release. It hogs up crazy amounts of RAM while doing simple things like preview generation, or image publishing to disk (and I am not talking heavy editing here).  I am saying like 10Gb of RAM plus 5 compressed memory on Mac OS Mojave. This is ridiculous, one has to restart it several times a day just to make it usable since it slows down as you keep using it. When will anybody at Adobe finally come to terms and address the issue? We pay subscription you know!

2 Messages

 • 

134 Points

3 y ago

I'm having some serious memory leak issues too. I open Lightroom, select a folder with ~2000 photos, select Metadata -> Read metadata from File. When finished, Lightroom uses 45 GB of RAM and needs to be restarted. (Lightroom 8.1 Mac version)

Adobe Administrator

 • 

10.7K Messages

 • 

142.2K Points

3 y ago

We’ve seen instances where malformed catalogs can cause excessive memory usage. To test this hypothesis please try the following.
  1. Select All Photos in Catalog Panel of Library Module
  2. [Ctrl/Cmd]+[A] to select all
  3. Right-click on any photo and select Stacking>Expand All Stacks
  4. [Ctrl/Cmd]+[A] to select all again
  5. File>Export as Catalog...
  • Save As: TestHighMemoryUsageCopy
  • Where: Desktop
  • Do not check  Export Negative Files or Build/Include Smart Previews
  • Check: Include available previews

Open the TestHighMemoryUsageCopy.LRCAT file in Lightroom and attempt the same operation(s) that caused the high memory usage.

Does the high-memory usage repeat with the test catalog?

Employee

 • 

31 Messages

 • 

694 Points

3 y ago

Thanks for reporting issue. We have noted all the observations and working on it.

1 Message

 • 

120 Points

2 y ago

Can't even do the solution without having to reset my PC. Adobe, I'm sick and tired of losing days of work finding solutions to problems that are years old and other people have had to find work around for. The minute I have time I'm looking for alternative software.

1 Message

 • 

64 Points

2 y ago

I started having this issue a couple of days ago after more than 12 years of using Lr. Contrary to most of you, I use one catalog per project as it works better for the kind of photography I do, it also helps with back ups as I back up the catalog with each project and it keeps the relative path to the images. As long as I have all my folders organized, it's easy for me to find the picture I'm looking for and its respective catalog. Anyway, I have a small project (and catalog) of no more than 100 images and not even a week old. I'm using a less than 2 year old top of the line MacBook pro, over $4000 when new. Everything was dandy until I started playing with a slideshow. I did a few tests getting to know the module, a few exports as video, all good. I think here's where I updated to the latest Lr Classic v9.0 Then I started playing with adding soundtrack, one track... OK, then replaced that one for a trimmed version and then I added another track on top, previewed it, and I'm pretty sure here's the first time I noticed something wrong. I got the Mac Os warning about programs using too much memory, and was showing Lr in a "non responding" status with over 100GB of Application Ram. Then that situation starting repeating itself everytime, climbing to over 50GB of RAM within 3 minutes of starting the catalog and just letting it go idle.
Things I tried:
Tried other catalogs, they were good, culprit was this one.
Deleting the newly upgraded catalog as to force Lr to re-create one for the old one.
Deleting the previews and temporary files left behind after force quitting.
Opening Lr and closing it quickly before the RAM usage went over 5GB so it would come to terms with its temporary files
Restarting
Deleting the slideshow
No luck.
I got suspicious about the soundtrack. I removed the tracks I was using and that were kept as part of the default template in the Slideshow module, closed Lr quickly before RAM usage went crazy.
Opened it again, RAM was happily around 600MB, added the original track, and after 10 minutes of playing with it and let it idle, RAM still sits at ~630 MB.
Hardly your case guys, but hopefully that will give Adobe some free troubleshooting facts to help fixing the issue. 
I hope that sheds some light.

225 Messages

 • 

3.5K Points

2 y ago

The issue persists in Lightroom 9.1

I'm DM'ing with Adobe on Twitter, and every single bloody time they promise me to "loop in an expert" and that they're "investigating the problem" and that they're so sorry that I'm having this experience.

I find it difficult to believe they're being genuine.
So the question is, how on great mother Earth can we put some pressure on Adobe to fix this problem?!

45 Messages

 • 

716 Points

1 y ago

I seem to be having a similar issue. I notice the longer I leave Lightroom open the more memory it seems to use. Last time I looked Lightroom Classic was using over 40GB.  The only solution is to restart but it quickly goes up again.  Are there any suggestions to repair the catalog if that is the issue?

225 Messages

 • 

3.5K Points

3 m ago

This problem has gotten a LOT worse in 10.2 as opposed to 10.0.

Adobe, please come up with one MOMENTUS explanation for putting your paying customers thru this.

58 Messages

 • 

860 Points

2 m ago

Just did a 4 hour session cropping and adjusting 1500 images. Memory usage was up to 45GB for LRC (10.2 on Mac / Catalina). The user interface was becoming laggy - just dragging the exposure slider was taking a second or more to respond.

Also saw the currently opened Folder close each time I scrolled down to it early during the first import. Happened at least 4 times whilst import was active.  That's new behaviour for me.

Haven't seen this become this laggy before. Quit and restarted, made an immediate difference. 

A lighter follow up session sees memory use at around 23GB. (No lag at this time).

What's expected behaviour for memory use? Is it related to anything quantifiable? Like how many images that might be in a visited folder? (Assuming you only are cropping and editing, no slide shows).