• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
18

Lightroom RAM usage climbs suddenly to over 15GB causing PC to lag and freeze

Participant ,
Dec 04, 2023 Dec 04, 2023

Copy link to clipboard

Copied

(UPDATE: Please also read my comment below as a reply. I have identified when this extensive memory consumption occurs).

 

The problem has started to occur, or at least be noticeable, in the last few days. When working in the Development module on an image, Lightroom's use of motherboard memory surges to over 15 GB. I have 32 GB on my Windows 10 stationary PC. But this grab of over 15 GB causes the PC to not respond anymore. I have to wait until I get control of my mouse again and then shut down Lightroom and restart it.

 

This must be a bug. Today, just now, this happened when working on an image from a Nikon D810 with a dng file size of around 45 megabytes. I ran the Lightroom denoise, and was editing a few masks (subject and background selections with a few adds and subtracts using a brush mask) when the PC stopped responding. Looking in Task Manager, I saw that Lightroom's memory usage was over 15 GB. After restart of Lightroom and continuing to edit, I see that Lightroom memory consumption is currently only 3 GB.

 

Background information: My Lightroom Classic is updated to the newest version now, but this problem also occurred before I performed the last Lightroom Classic update. I installed a new graphic card a few days ago, going from a GTX 1660 Super to an RTX 3060. Graphic card driver is fully updated with the Studio driver version from Nvidia. This freezing of the PC caused by high Lightroom memory consumption seems to have started after putting in the new graphic card, but I do not see why that should be. Lightroom performance tab is telling me my system is capable of full GPU utilization (it was listed as limited only with the GTX 1660). I have the setting here on "auto".

 

This must be a bug. It is happening consistently and often, and I have to shut down Lightroom very often to clear out the memory usage. Today's episode shows clearly something is wrong, because it happened while working on the very first photo, it happened quite suddenly (while working with a few masks), and the memory usage is now down again after a Lightroom restart.

 

App version: Lightroom Classic version 13.0.2, Camera Raw version 16.0

OS version: Windows 10, fully updated, stationary PC with 32 GB RAM and a 12GB graphic card (RTX 3060)

To reproduce: I just work in the Develop module for a while. I am not sure if this is happening only or because of working with masks.

Expected result and actual result: Using over 8 or 9 GB RAM becomes too much for my PC and certainly for many others. Using 15 GB or more RAM creates a show-stopper situation. There should be no need to take a hold of so much RAM. Expected result therefore is better memory management in Lightroom Classic.

TOPICS
Windows

Views

10.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
replies 118 Replies 118
Community Expert ,
May 23, 2024 May 23, 2024

Copy link to clipboard

Copied

@steveisa054 

Mac or Windows has nothing to do with this. It's basic system architecture.

 

There is apparently a bug where the GPU memory consumption increases uncontrolled, or at any rate much more than it should. There are several threads about this. It happens to Mac users as much as Windows users. It's just that with shared system RAM, it grinds the whole machine to a halt much quicker.

 

This happens to some users, but not to most users. I have never seen it on my two Windows desktops.

 

16 GB RAM on a laptop with shared system memory is not enough. Again, it has nothing to do with platform. It will work for a while, but sooner or later you will hit the ceiling because there will be competition for resources. Any computer with shared system memory should have at least 32GB RAM at today's standards.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 23, 2024 May 23, 2024

Copy link to clipboard

Copied

It's happen on all my computer with graphic card (2ryzen desktop and one intel laptop).

And everything work perfect on my macbook air M1 8go ....

 

As soon i start to use local adjustement or AI thing, change picture and past the previous preset Vram start saturate and never go down. Also do with the new dupplicate AI tool.

 

So the point is I can use the classic cursor but not the improvement we have since V11 or V12.

 

Also the ram never go down but with 32go it's not saturate.

 

The only option is to not use the graphic card i bought for LRC and loose time and money.

Or close and open LRC every ten minutes.

 

Cool to have new feature but if you cant use them what the point.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 23, 2024 May 23, 2024

Copy link to clipboard

Copied

quote

@steveisa054 

And then you may get competition for resources. The operating system may have allocated, say 12 GB for the GPU, and then suddenly LrC needs 10. And it doesn't get it, because the OS won't release it.

By @D Fosse

 

It isn’t that simple. Although I’m not technical enough to explain all the details, one major factor is that Apple Silicon Unified Memory allocations between OS and graphics are said to be far more dynamic and flexible than Intel Integrated Graphics shared memory, so that it is not correct to assume that they operate with the same limitations. 

 

In the scenario you mentioned, most of the time macOS will have options for dynamically reallocating memory so that ths OS in fact can release it for the process that requests it. It should be relatively rare that the OS is actually unable to release enough memory. This is how I can end up with 20 or 30 icons for running apps in the Application Switcher, including Photoshop, Lightroom Classic, and one or two Adobe video apps, but memory usage is reported to be completely OK and things are working fast.

 

And all of that does not apply to this discussion, because in this thread Lightroom Classic or macOS is not handling memory properly. It’s more about memory management bugs that need to be fixed, not about the design of Windows or Mac memory management. And it’s not about having insufficient memory, because many of the systems have 32GB or more.

 

In the end we do agree that for Creative Cloud, 16GB should be considered the minimum level for a Mac or PC, and 32GB is recommended especially for someone who wants accommodate occasional larger jobs or use the computer for more years before upgrading.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 23, 2024 May 23, 2024

Copy link to clipboard

Copied

@Conrad C 

OK, "the OS won't release it" is obviously not how it actually works, but I was making a point and trying to simplify.

 

The point is that with shared system memory, whether you call it "unified" or not, the GPU will eat up a big chunk of it, leaving that much less for the application.

 

On my desktop/RTX 4060 Ti with 16 GB dedicated onboard VRAM, the GPU routinely uses 10-12 GB. That's normal Lightroom operation. It doesn't go above that plateau, and if e.g. Photoshop needs it while Lightroom is running, it gets reallocated. It never maxes out, I have never seen that (and it's easy to check).

 

I understand, based on reports here in the forum, that some people are hit by a bug where the GPU doesn't cap memory usage. I don't see it, but some do. I don't know what triggers it.

 

So we're not discussing Mac or Windows. We're discussing one "normal" situation and one platform-independent "bug" situation. These two seem to be mixed up in this thread.

 

The main point I was trying to make, to the "normal" situation, is that with 16 GB total installed RAM, and the GPU using perhaps half of it or more, you have a situation with limited resources. With 32 GB, that limitation is not so urgent.

 

With a dedicated GPU with onboard VRAM that doesn't eat into system RAM, 16 GB would work better.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 23, 2024 May 23, 2024

Copy link to clipboard

Copied

quote

…it seems that a MAC user can be happy with only 16 GB ram. Is there really such a great difference between Windows and MAC with regard to this issue with Lightroom memory usage?

By @steveisa054

 

I am a very dedicated Mac user, and yet, I have to say that is an oversimplification that is partially, but certainly not always, true. Personally I recommend 32GB memory for someone getting their next Mac or PC for Creative Cloud work.

 

Things did change a little when Apple switched the entire Mac line from Intel processors to their own new Apple Silicon processor. There are some architectural processor differences that do use memory somewhat more efficiently. For example, there are tasks that everybody agrees are not advisable on Intel with 8GB RAM, but when people tried those tasks on the first Apple Silicon Macs with 8GB memory, those tasks had acceptable, or even good, performance. However, that is not always true, especially when large data sets need to be held in memory (these tend to be programming/data science tasks that Creative Cloud users never do); if you do something that really needs 16GB then the computer needs to have 16GB.

 

As for whether Mac users never see memory problems,  that is not true. Below are some relatively recent links on this forum from Mac users puzzled by mysteriously high memory usage with Lightroom Classic, describing it much like the Windows users do.

 

https://community.adobe.com/t5/lightroom-classic-discussions/ram-usage-on-apple-silicon/td-p/1411317...

https://community.adobe.com/t5/lightroom-classic-discussions/ram-amp-swap-usage-100gb-over-30-minute...

https://community.adobe.com/t5/lightroom-classic-discussions/lightroom-crop-tool-eats-up-ram-too-fas...

 

I have not had those kinds of problems with Lightroom Classic, but I recently had a similar problem with Adobe Premiere Pro on my Mac, where the claimed memory usage was several times the actual memory installed. (That is possible because of the way modern memory systems use compressed memory and virtual memory.) Eventually the program ground to a halt.

 

Adobe has been working on Lightroom Classic memory management in recent updates, and I think there may be fewer reports than there used to be. But there are still reports, so the problem might not be completely solved. The point is that it is incorrect to assume that Macs never have these problems. The solution is not to buy a Mac, but for Adobe to fix any remaining memory management bugs.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 02, 2024 Jun 02, 2024

Copy link to clipboard

Copied

Throwing my hat on the pile too as I have the same issues I think I have narrowed it down to the masking as well.  I'm running 32gb, an RTX 3060 with 12gb, and an i7-12th gen.  That fact that the memory just keeps going up instead of releasing back after you're done makes me remember back to W98 when you'd have memory leak issues.  Hopefully there's an update in the future that corrects this but I've been seeing it for some time.  I bought another 32gb a few weeks ago - haven't installed - because of this.  Glad to see some people with 64 reporting issues going away.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 11, 2024 Jun 11, 2024

Copy link to clipboard

Copied

I have the beginnings of a solution. It's ridiculous but given the time I waste editing with the latest version it's better than nothing.

 

I'm a wedding photographer so I make a new catalog for every wedding.
I use v12 to sort and retouch my images (general adjustment and automatic mask)
When I'm finished I download the latest version and do the noise reduction on it.
And I go back to v12 as soon as a new catalog is processed.

 

I also have problems with loss of ram and vram on v12 but I can continue to work without restarting the software every 5 photos, it's much smoother.

 

If that helps for some while waiting for Adobe to correct this problem.
Good luck to all.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 13, 2024 Jun 13, 2024

Copy link to clipboard

Copied

Hi Everyone,

I'm another frustrated LrC user. I have the same problem that you guys have described. I even uninstalled Adobe apps and did a fresh install and it didn't work. My PC has a configuration that is more than enough to run LrC pretty smoothly (Windows 11, i9-10900Kf, 64Gb RAM, 2 Tb m.2 and RTX3070). I confirm what others have said about RAM usage as mine is always above than 60%. Hope Adobe fixes this asap.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 15, 2024 Jul 15, 2024

Copy link to clipboard

Copied

Just developed this issue as well. No rhyme or reason, but LR almost completely unusable now. And, not sure if others are having this as well, but without doing anything, not only does LR system usage skyrocket, but it's frantically writing/reading from my Pegasus RAID system, nonstop. No idea what is going on, as I'm not doing anything - just in library view.

 

I, too, hope Adobe will do something about this, but if history and experience is any guide, they won't, or at least not anytime soon.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 21, 2024 Jul 21, 2024

Copy link to clipboard

Copied

I've had the same issue. i9-1100K 32GB of DDR4 3200MHz and a 4070ti but as soon as I start masking my RAM usage goes through the roof and my whole computer becomes a laggy mess. As a temporary fix I've dissabled my GPU in lightroom, seems to do the trick but obviously not ideal. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 21, 2024 Jul 21, 2024

Copy link to clipboard

Copied

FWIW I moved to a mac studio ultra, and I haven't had the problem since - not sure why!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

I have a possibly related problem: Lightroom C gets slower through a session. This is particularly troublesome  - and noticeable - with AI denoising. Start of session, file whizzes through, after an hour or so of busy editing with a lot more denoising, SAME file, same edits, same denoise settings, takes 4-5 times as long. This slowdown also affects the Photoshop AI brush. Aside from LrC & PS I have nothing else running. Agree, a bug! Adobe please investigate and resolve.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

This is GPU-related. Denoise runs exclusively in the GPU, it does not touch the CPU or the rest of the system.

 

What GPU do you have? Is this a dual graphics laptop?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

Are you saying Denoise doesn't affect/use ram? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

Actually Denoise doesn't use much memory at all. It seems to clear memory while in progress, both system RAM and VRAM. The arrows are Denoise start/finish:

 

RAM.png

VRAM.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

Interesting. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

I forgot where I read this but apparently, AI Denoise does need memory, but only enough to do the images at hand. Once it finds enough memory for that job, adding another 16GB or 32GB or 128GB of memory is not going to speed it up much further. The main thing AI Denoise wants is GPU power, and lots of it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

Yes, and it's possible the dips in the graphs above are to make room for batch Denoising. Haven't tested that.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

LATEST

I’ve added a 2nd NVME M2 SSD to my workstation as my c:\ drive was getting full. I then moved the LR Catalog to the new 2TB NVME drive. My workstation runs 64gb ram and I have nvidia GPU graphics card with 8gb memory. The changes have helped a little but memory still backs up and slows down to a crawl after running through several dozen photos including Denoise. This is without doing ANY masking functions.

 

Restarting LRC helps until the next several photos backs up the memory again.

 

I can only assume there is a major memory leak issue that has not been fully addressed yet.

 

My computer is as follows:

 

Win10

ASUS Pro WS X570 ACE ATX -

Workstation Motherboard

 

AMD Ryzen 7 3700X -

8 core 16 Threads

 

G.SKILL Ripjaws V Series 64GB (2 x 32GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Desktop Memory Model F4-3200C16D-64GVK

 

Samsung E-1TB 970EVO+NVME M2

and

Samsung E-2TB 970EVO+NVME M2

 

EVGA RTX2070 XC Black w/8gb memory GPU graphics accelerator card.

 

Ive tried both Auto and Manual modes in the Performance section with no joy. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines