Skip to main content
Known Participant
September 5, 2024

P: Constantly "saving xmp for xx photos" slowing down my Lightroom Classic!

  • September 5, 2024
  • 23 replies
  • 12414 views

Did a job yesterday and got home to edit the photos.. 
Immediately after importing the images (.CR2 Raw files from Canon 5DS) Lightroom started struggling to perform ANY action..  even going to the next frame in the film strip took several seconds, with a few short appearances of the spinning beach ball.. Editing was practically impossible - trying to crop an image and move the crop rectangle was taking about 15 seconds to update the frame position..

 

I looked what 'activity' was happening behind the identity plate at the top left and it was "saving xmp for xx photos" (xx was a number between 25-80 something)..  but then if I moved to the next frame, it repeated - "saving xmp for xx photos"...

Everytime I perform ANY action, it's saving XMP to multiple photos - even though I only have one photo selected in the strip. If I switch from library to develop, it again saves XMP to multiple photos - without me changing ANYTHING...

 

Why is Lightroom constantly writing XMP to multiple photos that haven't changed?? It's hogging my system resources!

Here's a video - the only action I'm performing is pressing the right cursor key to go to the next frame in the folder.. ALL files have already had current metadata saved to them, so there is NOTHING to save XMP for!

Was working in Lightroom Classic 13.5.1 - first job in that, so reverted back to 13.5 but it continued to keep saving XMP info for multiple files.

 

This topic has been closed for replies.

23 replies

Participating Frequently
September 7, 2024

After watching Junction10photo's video showing excess XMP activity, I realized I was experiencing the same thing -- mainly because I had seen performance deterioration with LrC 13.5 and 13.5.1 that I hadn't seen previously. 

 

I wanted to see if I could reproduce the problem intentionally. Here's what I came up with, and now I can repeat it at will. 

 

I have "Automatically write changes into XMP" turned on. I'm not synching any collections to the cloud.

 

I have a collection with 25 images in it; the images are only in this one collection.

 

In the Develop module, I first right-click on one of the images and select "Show in Finder" then filter the Finder list by ".xmp" and sort it by descending Date Modified. This is so I can easily see what happens next.  

 

I select 15 of the 25 images, turn on Auto Sync and make a basic editing change. All the XMPs for the images I just edited get updated, with their Date Modified set to, for example, "Today at 10:55 AM." This is expected, of course; and I used Auto Sync simply to get the same Date Modified on all 15 XMPs.

 

Without doing anything else in Lightroom, I wait until the computer clock changes to 10:56 AM.

 

When the clock changes, I switch from Develop to Library. After a few seconds, the 15 XMPs get updated again, with their Date Modified changed to "Today at 10:56 AM" -- even though I didn't make any more changes to them after the Auto-Sync/edit.

 

I wait another minute (for the clock to change) while in Library view without doing anything, then switch back from Library to Develop. All the same XMPs are updated again, their Date Modified changing to "Today at 10:57 AM."

 

I keep doing this, and every time I wait a bit and switch between the two modules, the XMPs get updated. This isn't the only time it happens; it was just easier to explain this way with a repeatable test. It will also happen if I stay in Develop and edit images; select different ones; switch between collections; pass the mouse over the filmstrip; or leave Lightroom open, work in another app, then return to Lightroom. These last two are weirdly fascinating.

 

Here are some other observations on what else may be happening because of these extra XMP updates:

 

- Memory usage climbs substantially, when the only thing I do is switch between modules. Performance drops, and the memory isn't freed until I restart Lightroom.

 

- I often get the "Adobe Lightroom is not finished writing metadata changes..." message when exiting -- something I had never seen until I updated to 13.5 then 13.5.1.

 

- I had been syncing about 500 photos to the cloud until recently, but noticed (by watching Sync Activity in Preferences) that sync kept looping repeatedly through photos it had already synced (and I hadn't edited). I reset preferences and followed the reinstall procedure for Lightroom, but the problem persisted so I stopped synching. Now I wonder if repeated syncs were getting triggered because of the excess XMP updates.

 

In conclusion: Well, I can't really think of anything, but maybe this testing provides some insights into a number of problems people are reporting since the 13x releases. 

JohanElzenga
Community Expert
Community Expert
September 7, 2024

@Rikk Flohr: Photography That does seem like a serious bug to me! This might be the explanation for many of the compaints of slowness!

 

-- Johan W. Elzenga
Participant
September 5, 2024

LR 13.5.1 Mac Sonoma 14.5

As the headline states:

"Save Metadata to File" & "Read Metadata from File" Updates whole catalog. Not just current Collection as expected.

 

Issue has been around for a long while for me. Most of the time when I choose either, LR will save/read all 140,000+ images in my catalog, when I only want it to scan my current Collection. It can take 15-25 minutes until it's complete.

 

I'm using Aftershoot to cull my images. Aftershoot updates the .xmp files after it's cull, that's when "Read Metadata from File" comes into play.

 

  • So my workflow is import using LR Import window as a Collection.
  • In LR general corrections are made to the current collection. 
  • In Grid View I select "Save Metadata to File" ... that's when LR usaully scans my whole catalog not just the collection.
  • Cull in Aftershoot and go back into LR. 
  • In Grid View I select "Read Metadata from File"... that's when LR usaully scans my whole catalog not just the collection.

 

I also have not edited any images in other Collections prior to a new import.

 

Is there anyway to have LR just Save/Read Metadata from the Collection only? It's super time consuming waiting for LR scan the whole catalog. 

 

Many Thanks!

John V.

 

 

 

johnrellis
Legend
September 6, 2024

A full-resolution screen recording of the entire LR window could also give more clues and understanding.

GoldingD
Legend
September 6, 2024

Can you [post a screenshot of your LrC /Catalog Settings/Metadata/