Lightroom Classic: Serious memory leak

  • 3
  • Problem
  • Updated 7 days ago
  • (Edited)
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.
Photo of Lukáš Chmela

Lukáš Chmela

  • 5 Posts
  • 1 Reply Like

Posted 2 weeks ago

  • 3
Photo of Jeff

Jeff

  • 41 Posts
  • 16 Reply Likes
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.
Photo of Katrin Serova

Katrin Serova

  • 1 Post
  • 1 Reply Like
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!
(Edited)
Photo of Tristan S

Tristan S

  • 1 Post
  • 1 Reply Like
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)