Lightroom Classic 8.1: Using too much memory and crashing on iMac with 64GB of RAM

  • 1
  • Problem
  • Updated 3 weeks ago
  • (Edited)
Adobe Lightroom taking up over 80GB of memory then crashing.  I am working with iMac Mojave and 64GB of RAM. Lr is using massive amounts of memory just by having the program running, not even heavy editing or exporting.  What is the issue here? This is Lr classic 8.1 
Photo of Saskia Kahn

Saskia Kahn

  • 6 Posts
  • 1 Reply Like

Posted 9 months ago

  • 1
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 6001 Posts
  • 1322 Reply Likes
Saskia,

Do you work with more than one catalog? If so, does the problem happen in all catalogs?


Photo of Saskia Kahn

Saskia Kahn

  • 6 Posts
  • 1 Reply Like
It is a brand new catalog with only 5,000 images in it.   I just updated to 8.1 and started this new catalog.  It never happened in the version I was using previously, Lightroom 2015, and I had 52,000+ images in that catalog. Thank you. 
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 6001 Posts
  • 1322 Reply Likes
If you create a new blank catalog for test purposes, import a couple of photos, and work with them does Lightroom consume the same memory?
Photo of Saskia Kahn

Saskia Kahn

  • 6 Posts
  • 1 Reply Like
I will try this once I finish the work I started in this catalog, thank you. For reference, how much memory should Lr be using if working properly. 
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 6001 Posts
  • 1322 Reply Likes
2-10 GB is not unusual but it depends on the system state, active programs, operations you are performing in Lightroom etc. If it gets much above 10 and stays there without eventually giving the memory back, then we have to look at things closer. 
Photo of Saskia Kahn

Saskia Kahn

  • 6 Posts
  • 1 Reply Like
Hi Rikk, Thanks for your continued help.  I started a new catalog and it is climbing up to 6gb of memory use while in library mode making selects. I do not run into this issue with Lr 2015 version.  What next steps should I take?
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5916 Posts
  • 1301 Reply Likes
6 GB is not that much Ram usage.  If you'd said 26, I would have been concerned. In my experience Lightroom floats between 2 GB and 10 GB in regular use and that is normal. 

Performance changes in subsequent versions since the CC2015 days do consume more ram to make certain operations fun faster. 

What is your current system ram?
Photo of Saskia Kahn

Saskia Kahn

  • 6 Posts
  • 1 Reply Like
Thank you, I will keep an eye on it.  The reason of concern is that it doesn't use as much memory when I run Lr on my mac-book pro, so I wondered if there's something in my settings.  I currently have 64gb of RAM in this imac.
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5916 Posts
  • 1301 Reply Likes
With 64 GB, I wouldn't be concerned unless your Lightroom instance in Activity Monitor gets up over 24 GB. 

With 16GB, I wouldn't start worrying until it gets up around 12-13 GB

Keep an eye on it for now. There isn't a setting to set.
Photo of dmeephd

dmeephd

  • 300 Posts
  • 79 Reply Likes
Hah!  I have 128GB on my MacPro and Lightroom typically uses as much as 85GB while doing absolutely nothing.  I do have a 4M image catalog (which is about 28GB in size), but seriously, LR has a leak.
(Edited)
Photo of Saskia Kahn

Saskia Kahn

  • 6 Posts
  • 1 Reply Like
Yes, it went over 86+GB in memory use just be being open overnight and crashed the entire (brand new) computer.  So, now I just have to quit Lr all the time. Do you use other programs or just put up with it since you have so much RAM?
Photo of dmeephd

dmeephd

  • 300 Posts
  • 79 Reply Likes
I do use other programs (e.g.  Photoshop. AutoCAD, Photo Mechanic, ON1, DXO, etc.), but when I bought the MacPro I went all out with OWC RAM as an upgrade as LR has had these memory issues since at least version 7.5.

I new test catalog with half a dozen images exhibits the same memory hogging.

Only Lightroom hogs RAM to any such degree, and only since 7.5.
(Edited)
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 6001 Posts
  • 1322 Reply Likes

We’ve seen instances where malformed catalogs can cause excessive memory usage at idle. (Especially on older, larger catalogs. This is normally confirmed by creating a new minimal catalog and seeing if memory climbs. If it doesn't you may have an aberration in your catalog. If you want 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?



Photo of John Abraham Group

John Abraham Group

  • 13 Posts
  • 3 Reply Likes
Thanks for the hint.  Is there a solution to fixing the malformed ness of the old catalog?  I've been using the same catalog for a decade!
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 6001 Posts
  • 1322 Reply Likes
Restoration from your recent backup is your first method of this. If you malformed catalog is very old then you may have much additional restoration to perform. It is hard to say without knowing if and when your catalog had the problem.