fredmiranda.com
Login

Moderated by: Fred Miranda
  New fredmiranda.com Mobile Site
  New Feature: SMS Notification alert
  New Feature: Buy & Sell Watchlist
  

FM Forums | Post-processing & Printing | Join Upload & Sell

1              3       end
  

Archive 2024 · Nvidia 4090 Memory Fills Up Lightroom

  
 
dclark
Offline
• • • • •
Upload & Sell: On
p.2 #1 · Nvidia 4090 Memory Fills Up Lightroom


tntcorp1 wrote:
@dcclark - i'm curious which model of nvda gpu are you running?


3090
See p.1 #10




Jan 09, 2024 at 12:48 PM
tntcorp1
Offline
• • •
Upload & Sell: Off
p.2 #2 · Nvidia 4090 Memory Fills Up Lightroom


dclark wrote:
3090
See p.1 #10



ah.. missed that! online gripes are limited to the 4090. it seemed nvda driver for the 3090 is doing a good job of memory management.



Jan 09, 2024 at 12:58 PM
jhapeman
Offline
• • • •
Upload & Sell: On
p.2 #3 · Nvidia 4090 Memory Fills Up Lightroom


tntcorp1 wrote:
there are many online gripes relating to memory management and overflow with nvda rtx 4090. perhaps an updated driver will fix this issue.

@dclark@, perhaps your model of nvda gpu is not affected. count your blessing. ))


It's not just an Nvidia issue though; this has existed in LR for a long time and gave me no end of problems with AMD cards and Nvidia cards.



Jan 09, 2024 at 01:26 PM
CanadaMark
Offline
• • • • •
Upload & Sell: Off
p.2 #4 · Nvidia 4090 Memory Fills Up Lightroom


It's an Adobe issue, not an Nvidia/Windows issue or anything at all to do with Mac/PC, yet somehow that always gets dredged up . This has been going on for a while and Adobe hasn't been able to fix it, at least not yet. You can try limiting your RAW cache in preferences. VRAM is also meant to be used, and the reason the 4090 is so expensive is because of all that VRAM, so if you don't limit it, expect it to be maxed out if you're doing something that can actually max it out. It is possible you are doing something that requires more VRAM, and there are GPUs with more - I don't know exactly what you're doing though.

I'm using a 3080Ti and I am using Photoshop/ACR but that shouldn't make much of a difference as the RAW engine is the same. I'm also using a dedicated scratch drive which can help when RAM is full. I've never seen my VRAM usage go above roughly 4GB even with hundreds of RAW files open, editing is instant-fast all the time. You could try it in ACR instead and see if you get the same issue, that would be interesting.

Is your RAM full too or just the VRAM?

Also make sure you're using the latest Nvidia Studio drivers rather than the Game Ready drivers.



Jan 09, 2024 at 02:09 PM
dclark
Offline
• • • • •
Upload & Sell: On
p.2 #5 · Nvidia 4090 Memory Fills Up Lightroom


@ohsnaphappy@ observed that not using the GPU to drive a high res display seems to eliminate the slow down problem. That needs an explanation. I observe that using a 2K display connected to the GPU also does not show a slow down problem. I believe the slow down being seen refers to editing operations that are being done by the CPU. Why does over subscription to GPU memory slow down CPU editing? It seems that the slowdown is not because the GPU lacks memory for its operations, but that the GPU has restricted the memory available to the display and that is causing slow down in CPU operations. Like @ohsnaphappy@ I would like to see a convincing explanation.

It's an interesting question but I don't see any convincing explanations. Of course it's easy and fun to complain about Adobe's utter incompetence. I always enjoy that.



Jan 09, 2024 at 02:16 PM
ohsnaphappy
Offline
• • •
Upload & Sell: On
p.2 #6 · Nvidia 4090 Memory Fills Up Lightroom


With 24Gb, should I set the vram limit to 20gb? 22gb? I have not tried this yet, so I’m excited to see if it helps


Jan 09, 2024 at 02:21 PM
jhapeman
Offline
• • • •
Upload & Sell: On
p.2 #7 · Nvidia 4090 Memory Fills Up Lightroom


ohsnaphappy wrote:
With 24Gb, should I set the vram limit to 20gb? 22gb? I have not tried this yet, so I’m excited to see if it helps


You can't set any limits on the VRAM. The RAW cache also has no relation to this whatsoever, that's just an error by CanadaMark.

The fact that's being ignored by him is that it only happens using certain tools. It's a classic situation of just because *you* don't have the problem doesn't mean it doesn't exist. It's a GPU memory issue, and it's real, and it's been persistent in LR for years, affecting both AMD and Nvidia GPUs, PC and Mac.

It is definitely related to higher-resolution monitors as well. That's logical given how much VRAM is needed to push all of those pixels.

@dclark, the editing that's affected is actually GPU-based, not CPU. The brushes all have GPU acceleration utilized. That's why @docusync mentioned he just turns off the GPU acceleration to get around it. Right now LR is a hodge-podge of things that have GPU acceleration enabled or don't have it enabled; that's logical given that many tasks don't benefit from the massive parallelization that GPUs offer, but it also complicates troubleshooting.



Jan 09, 2024 at 02:28 PM
dclark
Offline
• • • • •
Upload & Sell: On
p.2 #8 · Nvidia 4090 Memory Fills Up Lightroom


ohsnaphappy wrote:
With 24Gb, should I set the vram limit to 20gb? 22gb? I have not tried this yet, so I’m excited to see if it helps


I had the same question whether the GPU had a setting that was limiting the dedicated VRAM, but my GPU VRAM is set to 24GB, and I don't see a way to change the GPU allocation. It is possible to change the shared memory setting in the BIOS but I don't expect that to change anything. I am guessing that the limitation of the amount of GPU memory available for display is a Lightroom issue, but that's just a guess. That's what I was hoping to learn more about.



Jan 09, 2024 at 02:31 PM
Jeff
Offline
• • • • • •
Upload & Sell: On
p.2 #9 · Nvidia 4090 Memory Fills Up Lightroom


jhapeman wrote:
There seems to be a long-standing memory leak in Lightroom related to the GPU memory use. In my experience it's somehow related to some of the tools, in particular the healing brush tool. If you do a lot of touchup with that tool it will destroy your GPU memory over time. On an Apple Silicon Mac with 128GB of RAM it just never becomes an issue.


I agree... and disagree. Long-standing memory leak, absolutely. In my experience a Studio M1 Ultra w/128GB ram becomes an issue just like with 64GB, 32GB, 16GB, etc. Sooner or later LR uses every last byte it can and then slows to a crawl, requiring a quit. Admittedly robust usage here (large panos), but still, this long-standing bug should have been fixed years ago. [edit: driving dual 5k monitors]



Jan 14, 2024 at 04:21 PM
ohsnaphappy
Offline
• • •
Upload & Sell: On
p.2 #10 · Nvidia 4090 Memory Fills Up Lightroom


Update

1) PC users, mostly gamers, are pretty ignorant. So if you're buying or building a PC finding rock solid info is pretty difficult. Mac users do have delusions of grandeur, haha, but at least the Mac community has some level of consensus and a reliable knowledge base.

2) I'm baffled by my own conclusions and continue to test, trying to prove myself wrong. But I want to reiterate, after more testing: Lightroom will perform better if you DON'T connect your monitor to the discrete GPU, in my situation, an Nvidia 4090. I hate typing that, because it sounds so crazy.

3) Here's how it works, if your intel CPU has a K - 13900k - you have a baby GPU built into your CPU. You want that GPU to run your monitor. This frees up the 4090 to do amazing things in Lightroom, like AI, heal brushes, etc. In Lightroom Preferences you can select which GPU you want Lightroom to utilize. And the 4090 is FAST! But if you run your monitor with the 4090, the heal brush in particular, lags terribly. So, the baby GPU creates the pixels on your massive 5k monitor, and your 4090 calculates what to heal, where the sky is etc. This combination is so fast! You can monitor all of this in real time with an app like HWINFO. After eight hours of editing, the 4090 typically reaches a max of 60% utilization. The intel GPU around 30%. Isn't that interesting?

4) Motherboard choice matters, for so many reasons. Importantly, you need a Display Port/HDMI port built into your motherboard. Without it, you will NEVER be able to utilize the GPU inside the Intel processor. Sadly, the most extreme kick ass motherboards don't have such a port. For example, the Asus Apex Encore. So be aware.

5) Lastly, stop using 4 sticks of ram. Ha! OMG. I bet this drove Apple crazy when they were using Intel chips. The memory controller is dual channel and actually can't support 4 sticks. If you're using 4 sticks, you're actually using two sticks with the other two daisy chained. Yeah. Also. If you're using 4 sticks your ram is running slower, ouch, AND your CPU is running slower and can Turbo Boost less. Pretty fascinating. Even Apple has recently switched to 2x24gb configuration, correct? Very interesting.



Feb 01, 2024 at 12:00 AM
CanadaMark
Offline
• • • • •
Upload & Sell: Off
p.2 #11 · Nvidia 4090 Memory Fills Up Lightroom


ohsnaphappy wrote:
Update

1) PC users, mostly gamers, are pretty ignorant. So if you're buying or building a PC finding rock solid info is pretty difficult. Mac users do have delusions of grandeur, haha, but at least the Mac community has some level of consensus and a reliable knowledge base.


This I would respectfully disagree with as my experience has been the exact opposite. I've been building PCs since the 90s and serious gamers are the ones trying to get every last drop of performance out of their systems, which means they are often dealing with elaborate custom systems and overclocking - this crowd is incredibly knowledgeable and the depth of that knowledge is quite something. That isn't even a thing in Mac land. The tiny performance gains they are after require very granular optimizations and a detailed understanding of how everything works. It's like anything else, there is a wide range of knowledge, some people are idiots and some are experts, and both are usually happy to "help" so the only real takeaway here is to validate your sources. If you are getting lots of ignorant responses, it probably has more to do with where you're looking (in either case).

I won't comment further on the Mac community but in either case I don't think it's fair to generalize. Both have plenty of Kool-Aid drinkers and experts alike. If you go to biased sources, expect biased information.


ohsnaphappy wrote:
5) Lastly, stop using 4 sticks of ram. Ha! OMG. I bet this drove Apple crazy when they were using Intel chips. The memory controller is dual channel and actually can't support 4 sticks. If you're using 4 sticks, you're actually using two sticks with the other two daisy chained. Yeah. Also. If you're using 4 sticks your ram is running slower, ouch, AND your CPU is running slower and can Turbo Boost less. Pretty fascinating. Even Apple has recently switched to 2x24gb configuration, correct? Very interesting.


This comment requires some important caveats - the number of memory channels your PC can take advantage is dependent on your CPU/mobo and it matters whether the memory sticks themselves are single rank or dual rank and the desired speed of said memory.

4 sticks of single rank memory will perform similar to 2 sticks of dual rank memory in most applications, but 4 sticks is harder on the memory controller. Single rank sticks are easier to run stable at higher clocks and with tighter timings, so you can run them at higher clocks and tighter timings than dual rank kits, which is why they have similar performance to the faster dual rank sticks operating at a lower frequency, all else equal.

After a certain point, if your work requires a lot of RAM, you have no choice but to go with 4+ sticks of memory due to the maximum amount of memory per stick. If your work is bottlenecked by the maximum amount of RAM you can get with 2 sticks, then no matter what you will see a performance increase doubling the capacity with 4 sticks even if they all run slower. When Apple was using Intel CPUs, DDR5 wasn't out yet, and 4 sticks vs 2 sticks was very manageable if you knew what you were doing.

On a dual channel mobo/CPU setup, the memory will run in dual channel whether you have 2 sticks or 4. On a setup that supports quad channel, it's a different story.

It also matters if you're talking DDR4 vs DDR5 because DDR5 is generally faster with 2 sticks on current memory controllers which in this generation are really struggling with 4 sticks, especially if you want to run them above base clocks (Intel XMP/ AMD EXPO enabled). For DDR4 it's a lot less of an issue and that's where 4X single rank sticks perform roughly the same as 2X dual rank sticks even in a dual channel setup. As of today, if you are using DDR5, you generally want to be using 2 sticks but only if 2 sticks can cover your capacity requirements and don't create any bottlenecks with the intended usage.

Further, it matters how your system responds to faster memory, because if the incremental gains from faster memory don't affect your usage, you can use slower sticks which will be more stable which means you can use more sticks with fewer downsides. For example Ryzen is usually more sensitive to memory speed than Intel because the infinity fabric runs at a ratio to the RAM clock up to a certain point. Also, if your CPU has an integrated GPU that you are using as your only GPU, you want to give it the fastest RAM possible as the system RAM is also serving double duty as the VRAM and GPUs are highly sensitive to VRAM speed/bandwidth.

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

Interesting findings on the Lightroom / GPU front. Sounds like Adobe need to release an update!



Feb 01, 2024 at 02:03 PM
ohsnaphappy
Offline
• • •
Upload & Sell: On
p.2 #12 · Nvidia 4090 Memory Fills Up Lightroom


Gamers know gaming and nothing else. They don’t know much about professional workflows. Just look up any discussion about e cores. Gamers can’t even begin to imagine how hard Adobe works PC hardware. The Mac community is the exact opposite. No knowledge of gaming but a plethora of professionals with different workflows.

And look, if you have a 13900/14900 and z690/z790 and you use 4 sticks of dddr5 ram you’re going to lose performance. That’s not 99% true. It’s 100% true. If you think otherwise show me your source.



Feb 01, 2024 at 03:49 PM
CanadaMark
Offline
• • • • •
Upload & Sell: Off
p.2 #13 · Nvidia 4090 Memory Fills Up Lightroom


ohsnaphappy wrote:
Gamers know gaming and nothing else. They don’t know much about professional workflows. Just look up any discussion about e cores. Gamers can’t even begin to imagine how hard Adobe works PC hardware. The Mac community is the exact opposite. No knowledge of gaming but a plethora of professionals with different workflows.


Respectfully, this is just not true - you are making very strong generalizations about a very large user base. I am an avid gamer, for example, and have been for most of my life right alongside my photography hobby/profession. Many gamers know exactly how their hardware translates into workstation performance because they use their computers for both, and I have had discussions with countless folks who would fit into that category. It's a great synergy actually because a lot of the best gaming hardware is also the best creative hardware. One of the biggest laptop markets are "hybrid" laptops which are designed to run games just as well as they handle creative workloads, and I am also one of those customers. There is also a huge subset of the community that use PCs for creative workloads, whether that be photo/video centric or rendering/graphic design/CAD, etc. many of which who also enjoy games and that is literally the hardware used to develop games.

There is plenty of very intelligent discussion on e-cores if you're reading the right sources. If you're going to places like Reddit, Macrumors, etc. there is a huge range in the quality of information you get. Forums like Overclockers and some less well know YouTubers are good places for really getting into the weeds on topics like that - and they are primarily gamers.


ohsnaphappy wrote:
And look, if you have a 13900/14900 and z690/z790 and you use 4 sticks of dddr5 ram you’re going to lose performance. That’s not 99% true. It’s 100% true. If you think otherwise show me your source.


That is broadly true. As described in my previous post, it depends on the specific scenario. Your original statement made no mention of hardware types or memory class with regards to the memory comment, which is crucial information. If your work is being bottlenecked by the amount of memory available, it will be faster with 4 sticks if adding 2 additional sticks is the only way to get enough physical memory to properly complete the tasks you're trying to do, even if it the system is only dual channel compatible. That is a fact, because once your memory is full, the system will start using virtual memory on the SSD/HDD which is an order of magnitude slower than even a sub-optimal RAM configuration.

I'm not picking on you or anything and I'm sorry if it came off any other way, I just wanted to add some clarity for others who may be reading as things like this are very nuanced and if viewed in black & white you can easily run into issues. And I am genuinely interested to learn more about how Lightroom deals with the iGPU.



Feb 01, 2024 at 05:30 PM
dave207
Offline

Upload & Sell: Off
p.2 #14 · Nvidia 4090 Memory Fills Up Lightroom


Very interesting findings as I`m struggling with the same problem atm, has anyone tried the same solution with AMD Cpu? In Bios do you change graphics settings so iGPU is the one for display initialisation not the dedicated one? If you decide to do gaming on the machine with such a config does it mean you need to change bios settings again so dedicated graphics outputs signal to display but not the iGPU anymore?


Aug 09, 2024 at 04:39 AM
SCoombs
Offline
• •
Upload & Sell: Off
p.2 #15 · Nvidia 4090 Memory Fills Up Lightroom


dclark wrote:
It is interesting that the use of the GPU to drive the display seems to cause the GPU memory to fill and slow down the computer. I have tried everything to fill the GPU memory and cannot get it to fill and slow down the system, but the reason I don't see the slowdown may be that I am driving a 2K NEC. I can get the GPU memory up to ~20GB but not higher. Also periodically the GPU memory clears and drops down to somewhere in the range of 5-15GB. Sometimes it clears due to me changing to a
...Show more

I just came across this thread as I am currently dealing with this same problem. I have a 4070 Super with 12GB VRAM and it's pretty bad. LrC slows down to something basically unusable within minutes, at least if I use any masks or brushes. Even if I don't it does seem to eventually slow down, but not as fast.

The weird thing is that up until about a week ago I have a much lower powered card with less VRAM: a 1660Ti with only 6GB VRAM, and it performed much better! With that card, things would get unusably slow IF I overloaded a file with a large number of masks or brush uses. I had a file where I was clearing a large amount of acne and must have had 30 healing brushes. That one wouldn't even render without rating a few minutes. This led me to finally upgrade the card. However, with that 1660Ti I could use a handful of brushes. I could use a mask or two. It would generally slow down a touch in such a case but not too bad. Then, if I swapped to another photo everything would run smoothly. Meanwhile my VRAM usage would sit at 5.5 or 5.6 or 5.7GB out of 6GB used.

With the newer, higher memory card, it's worse. Even one mask will run the risk of slowing things down. It doesn't always happen, but when it does it becomes unrecoverable and unlike with the older card, any fresh photo I swap to will also be unworkable until I restart. The VRAM doesn't always go near full: it usually sits between 7 - 10GB used. When it's like this, it runs fine. Then using a mask or a brush, or sometimes for no discernable reason at all, it will shoot up to 11.5 or 11.7 or 11.8 GB used and then I have to restart or nothing will work.

I have, of course, run the gamut of every tweak to settings or configuration or cache sizes or driver version or anything else that has been suggested anywhere online.

It's not at all clear to me why the card with LESS memory was experiencing this problem in a substantially less severe way than the card with twice as much.



Apr 18, 2025 at 10:29 AM
jhapeman
Offline
• • • •
Upload & Sell: On
p.2 #16 · Nvidia 4090 Memory Fills Up Lightroom


SCoombs wrote:
I just came across this thread as I am currently dealing with this same problem. I have a 4070 Super with 12GB VRAM and it's pretty bad. LrC slows down to something basically unusable within minutes, at least if I use any masks or brushes. Even if I don't it does seem to eventually slow down, but not as fast.

The weird thing is that up until about a week ago I have a much lower powered card with less VRAM: a 1660Ti with only 6GB VRAM, and it performed much better! With that card, things would get unusably slow
...Show more

Just to ask...what version of Lightroom are you running? OS version? Are you 100% up to date on the graphics card driver, Lightroom version and OS patches, etc?



Apr 18, 2025 at 11:15 AM
SCoombs
Offline
• •
Upload & Sell: Off
p.2 #17 · Nvidia 4090 Memory Fills Up Lightroom


jhapeman wrote:
Just to ask...what version of Lightroom are you running? OS version? Are you 100% up to date on the graphics card driver, Lightroom version and OS patches, etc?


I am on 14.2 right now. I have tried 14.0, 14.1, and 14.11 as well because I saw someone report that this was a bug with version 14.2 I did initially find 1.41 to be better, but after further experimentation there was no improvement.

I am running up to date Windows 10 64 bit. Please note that this is the same thing I was running a week ago when it worked much better with the other card. On that note, it is also worth noting that I have tested the card, trying to push it to its limits both demanding games and in other creative applications and not only has it performed perfectly in everything else, but I really haven't been able to find anything that does push it to its limits yet.

I have tried several versions of the graphics driver and am currently running the most recent version which was released only two days ago. I have not found any difference using any of the past few versions. I have found that in spite of the usual recommendations that the problem is less severe with the Game Ready driver than with the Studio driver.



Apr 18, 2025 at 11:36 AM
jhapeman
Offline
• • • •
Upload & Sell: On
p.2 #18 · Nvidia 4090 Memory Fills Up Lightroom


SCoombs wrote:
I am on 14.2 right now. I have tried 14.0, 14.1, and 14.11 as well because I saw someone report that this was a bug with version 14.2 I did initially find 1.41 to be better, but after further experimentation there was no improvement.

I am running up to date Windows 10 64 bit. Please note that this is the same thing I was running a week ago when it worked much better with the other card. On that note, it is also worth noting that I have tested the card, trying to push it to its limits both demanding games
...Show more

What do you have the graphics processor set to in the "Performance" section of the LR Preferences? In my experience in the past "Auto" was always the best option.

Interesting observation on the game-ready vs. studio drivers!



Apr 18, 2025 at 11:58 AM
SCoombs
Offline
• •
Upload & Sell: Off
p.2 #19 · Nvidia 4090 Memory Fills Up Lightroom


jhapeman wrote:
What do you have the graphics processor set to in the "Performance" section of the LR Preferences? In my experience in the past "Auto" was always the best option.

Interesting observation on the game-ready vs. studio drivers!


Right now it's on auto. I've in the past used it with each item checked. It worked fine than (as did everything else). I've tried both in the past week and haven't noticed a difference.



Apr 18, 2025 at 01:34 PM
SCoombs
Offline
• •
Upload & Sell: Off
p.2 #20 · Nvidia 4090 Memory Fills Up Lightroom


I have also found that when I quit LrC, it doesn't actually quit. The window closes and it looks like it's quit, but no RAM or VRAM allocated to LrC is freed and the program still shows as active in task manager. I need to terminate it in task manager.


Apr 18, 2025 at 01:55 PM
1              3       end




FM Forums | Post-processing & Printing | Join Upload & Sell

1              3       end
    
 

Welcome back
Log in to your account