Skip to main content
Participating Frequently
February 16, 2019
Question

Lightroom classic becomes unresponsive during sync. Memory leak?

  • February 16, 2019
  • 3 replies
  • 1836 views

Context: Earlier this year I managed to migrate my old catalog of 20.000 photos into the adobe cloud. I have been using lightroom classic for a long time, but since I love the way the new lightroom CC is evolving I decided to start using lightroom CC as the prime source of truth, and say goodbye to my old native catalog in lightroom classic. I started with a new and empty catalog that should sync with my cloud environment. New pictures will be imported using the new lightroom CC and should magically appear in lightroom classic thanks to the sync.

Problem: When lightroom classic starts syncing, the counter of "syncing x photo's" in the upper left hand corner goes up to around 12.000. Lightroom will start downloading a couple of photo's until it becomes slower and slower and slower, and after about syncing 10 photo's will become completely unresponsive. The windows task manager shows that lightroom classic is taking around 25% of CPU, and has taken up all of the available memory (>12GB used of the available 16GB). A force stop of lightroom is the only way out. After 2 days I've only managed to sync 260 photo's.

Info:

Lightroom Classic version: 8.2 [ 1204643 ]
License: Creative Cloud
Language setting: en
Operating system: Windows 10 - Business Edition
Version: 10.0.17134
Application architecture: x64
System architecture: x64
Logical processor count: 8
Processor speed: 4.0 GHz
Built-in memory: 16344.3 MB
Real memory available to Lightroom: 16344.3 MB
Real memory used by Lightroom: 1130.4 MB (6.9%)
Virtual memory used by Lightroom: 919.1 MB
GDI objects count: 582
USER objects count: 2036
Process handles count: 1506
Memory cache size: 0.0MB
Internal Camera Raw version: 11.2 [ 134 ]
Maximum thread count used by Camera Raw: 5
Camera Raw SIMD optimization: SSE2,AVX,AVX2
Camera Raw virtual memory: 0MB / 8172MB (0%)
Camera Raw real memory: 0MB / 16344MB (0%)
System DPI setting: 96 DPI
Desktop composition enabled: Yes
Displays: 1) 2560x1440
Input types: Multitouch: No, Integrated touch: No, Integrated pen: Yes, External touch: No, External pen: Yes, Keyboard: No

Graphics Processor Info:
DirectX: NVIDIA GeForce GTX 980 Ti (25.21.14.1616)

Application folder: C:\Program Files\Adobe\Adobe Lightroom Classic CC
Library Path: D:\Foto\catalog\catalog.lrcat
Settings Folder: C:\Users\Papa\AppData\Roaming\Adobe\Lightroom

Installed Plugins:
1) AdobeStock
2) Facebook
3) Flickr
4) Nikon Tether Plugin
5) SmugMug

Config.lua flags: None

Adapter #1: Vendor : 10de
Device : 17c8
Subsystem : 32321462
Revision : a1
Video Memory : 6097
Adapter #2: Vendor : 1414
Device : 8c
Subsystem : 0
Revision : 0
Video Memory : 0

Message was edited by: Mod to removed unneeded text.

    This topic has been closed for replies.

    3 replies

    July 19, 2019

    I’ve been on customer support for this many times. Each time the person controls my system, changes this permission or that, looks around, and nothing changes. When syncing, the memory use explodes until the app and the system hang.

    This last session with customer support, the person told me to create a new user on the Mac, start LR and point to the same catalog, and then sync. No memory leak at all. Sync is slow as molasses, but it is syncing both ways.

    So this leads to a conflict. Some process is conflicting with LR. The customer support person has no idea what that might be.

    July 19, 2019

    Spoke too soon. After about 2 hrs, the solution started failing as memory usage rapidly climbed. Quitting and restarting LR and it climbed pretty fast. Another theory bites the dust

    Participant
    March 25, 2019

    Hi

    I have the same problem. I have come to the conclusion that you should NOT migrate any classic catalogs to the CC unless you are not going to use Classic anymore.

    I managed to fix my classic though after I migrated a catalog of about 11k photos,  and ended up with the same problem that you mentioned above.

    Fix:

    1. In LR CC: Delete all files, albums and folders added from the migrated catalog. Verify that the files are also deleted from the cloud storage in LR on the web.

    2. Open Classic. I was supprized to se that classic was still trying to sync the deleted cloud files. And I  could see classic tried to add these files to a CC device called "Macbook Pro".

    3. I paused the sync process before Classic got time to become unresponsive.

    4. Deleted all the imported files from the just mentioned CC device. (All files and adjustments was still intact in the original classic catalog I initially tried to migrate to CC. So I didn't worry about loosing any work.)

    Then after starting the sync process again, I could see after a few minutes the amount of files classic tried to sync was dropping and in about 10-15 minutes was 0.

    Note to myself. DON'T MIGRATE CLASSIC TO CC. Just synk between the two versions of LR...

    kgeusensAuthor
    Participating Frequently
    February 16, 2019

    I may have found a possible cause for the memory leak that is worth trying!!  I deactivated all the "publishing plugins" in lightroom classic and the problem seems to have disappeared. My sync has been happily humming now for 60 minutes and is only using 1.5G of memory (according to task manager). Before, it would hang after 5 minutes and take up all the memory it could get its hands on (13GB).

    * double click on one of the publish services to open the dialogue

    * in the dialogue, click on plugin manager...

    * deactivate all plugins one by one (I only kept the "disk" publish service active)

    * restart lightroom classic

    after restart, you should no longer see the publish services in the publish section. In my case, the memory leak issue has disappeared, and lightroom classic works like a charm.

    It now needs to sync 20.000 pictures (download from cloud) on a slow connection. It will take a long time but I will update this thread with my findings.

    kgeusensAuthor
    Participating Frequently
    February 16, 2019

    Unfortunately, after a couple of hours the problem returned in full force.

    Observation: when I pause sync and restart lightroom classic, there is no problem with the memory consumption. As soon as I continue the sync, the memory usage spirals out of control. Pausing again does not stop the issue, only after reboot.

    Just Shoot Me
    Legend
    February 16, 2019

    Try disabling your anti virus program. A lot of times these AV/internet security programs scan every file that goes out or comes in from the internet. That might be part of your problem.

    I have not used an AV/IS program for over 12 years and have NO problems with LR Classic (the Traditional version) syncing with the web system.

    I just created a new Collection, Synced it with the web system, then loaded 433 images into that collection. Brought up Task Manager and memory use started at 5.05 GBs went up to 5.75+ and is now at 5.55 GBs.

    So it is something on your system that is causing this rise in memory use when syncing with the LR web system. IMO the only thing that could do that is some type of AV or internet security program. No other program that I'm aware of would scan every file being uploaded from your computer to the net.

    Oh and all the files I selected to upload are Fuji X-T2 RAF files of 48+/-MBs in size.

    CPU activity is much larger, spiking @ 90+% and sometimes going to 100%, than memory use.