Skip to main content
Micke, Finland
Participating Frequently
May 7, 2021

P: LrC 12.2.1 fails to start/launch or is extremely slow launching.

  • May 7, 2021
  • 211 replies
  • 108369 views

Hi,

 

LRC 12.2.1 is not starting anymore, just launches as a background process using significant amounts of RAM and CPU, but the visible window never shows up. 

 

I have already:

- Tried the alt-shift-click thingie.

- Tried logging out and in from CC.

- Wiping all data files from the computer and letting LRC create a fresh Lightroom folder and catalog file (sometimes it does that, sometimes it hangs before the folder is created). 

- Wiping all Adobe products with the cleaner tool and reinstalling just LRC.

- I have even formatted and reisntalled the computer (becuase it was a good time to do that anyway).

 

But LRC still fails. What to do next?

 

Edition Windows 10 Pro
Version 22H2
Installed on ‎17.‎03.‎2023
OS build 19045.2728
Experience Windows Feature Experience Pack 120.2212.4190.0

 

This topic has been closed for replies.

211 replies

johnrellis
Legend
April 12, 2023

@kbrice, you can turn off the usage-data reporting following the steps here:

https://community.adobe.com/t5/lightroom-classic-bugs/p-lrc-12-2-1-fails-to-start-launch-or-is-extremely-slow-launching/idc-p/13695275/page/6#M41952 

 

A couple of weeks ago, it kept getting turned back on for at least a couple of us, but it seems to stay off permanently for me now.

 

I poked in the contents of the file, and it's clearly not a pure JSON file, though it contains JSON:

https://www.lightroomqueen.com/community/threads/lrc-cache-causing-crash-metrics-json-but-why.47409/#post-1313861 

Rikk Flohr_Photography
Community Manager
April 12, 2023

@kbrice  I've seen very few reports of the work around being needed more than one time. In my case (only affected 1 computer out of 6), it only required a single application of the workaround.  A permanent fix will be released soon and that should provide you relief.  

Rikk Flohr: Adobe Photography Org
kbrice
Known Participant
April 12, 2023

@Rikk Flohr: PhotographyYou said it's not necessary to remove metrics.json more than once, but LrC has created a multi-gigabyte metrics.json on my system twice now. After expending a bunch of effort to try and see what's in the file since almost nothing will open it due to its size, it doesn't even appear to be proper JSON - it just looks like garbage, with lines long enough that PowerShell runs out of memory when "get-content -TotalCount 1" is used to just get the first line.

 

I'm extraordinarly displeased. If I'm understanding this thread correctly:

  1. This was found in prerelease testing for 12.2.1, and the release happened anyway without even an inkling of a fix, or  engineering even having a sample metrics.json to debug
  2. The file is for storing telemetry data, and Adobe seemingly could have turned off this functionality service-side to prevent users from hitting the bug without a patch, but didn't
  3. This has remained unpatched for over a month now (the bad version was released March 😎

 

This is incredibly disappointing, and as people have reported here, has kept people from getting paid work done. And it's for telemetry, a non-critical feature purely for Adobe's benefit that seemingly could've been shut off remotely while it's broken given the setting lives on Adobe.com. What's the ETA for a fix?

kbrice
Known Participant
April 12, 2023

Lightoom Classic keeps creating a giant file called "metrics.json" in %localappdata%\Adobe\Lightroom\Caches. Once the file gets big enough, Lightroom fails to even show the startup splash, and takes hours parsing the file, taking up tens of gigabytes of RAM. I've never seen it actually complete and continue starting. If I delete metrics.json, Lightroom starts right up, but later creates it again.

 

Right now, metrics.json is 1.09GB. Why? Is it telemetry? After searching around for a utility that would even show this large a file, it doesn't even appear to have recognizable text or proper JSON in it. And it's seemingly all on one line, so if I try to use PowerShell, it runs out of memory:

 

PS C:\Users\user> get-content "%localappdata%\Adobe\Lightroom\Caches\metrics.json" -totalcount 1
get-content : Exception of type 'System.OutOfMemoryException' was thrown.
At line:1 char:1
+ get-content "%localappdata%\Adobe\Lightroom\Caches\metrics.json"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Get-Content], OutOfMemoryException
    + FullyQualifiedErrorId : ProviderContentReadError,Microsoft.PowerShell.Commands.GetContentCommand

 

I'm running the latest version of Lightroom Classic, 12.2.1, on Windows 10 22H2. Thanks.

kbrice
Known Participant
April 12, 2023
FinnPaulPhoto
Participant
April 12, 2023

I made changes to the sync preferences for Lightroom Classic after which it willnot open. It gets stuck with the splash screen reading preferences. I have tried starting with reset preferences, but that does not help. I have uninstalled and re-installed Lightroom and restarted my computer many times. I have also tried MAC safe mode to now success.

I even started in terminal mode. Here is the output:

Last login: Wed Apr 12 08:26:22 on console

/Applications/Adobe\ Lightroom\ Classic/Adobe\ Lightroom\ Classic.app/Contents/MacOS/Adobe\ Lightroom\ Classic ; exit;

paul@Pauls-iMac ~ % /Applications/Adobe\ Lightroom\ Classic/Adobe\ Lightroom\ Classic.app/Contents/MacOS/Adobe\ Lightroom\ Classic ; exit;

*** GPU Warning: GPU3 failed (previous) sanity test ***

[0412/090405.990629:WARNING:dns_config_service_posix.cc(291)] Failed to read DnsConfig.

objc[3411]: Class GUDEAsyncToken is implemented in both /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/MacOS/Adobe Lightroom Classic (0x104496a00) and /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/PlugIns/AdobeHeadlights.lrmodule/Contents/MacOS/AdobeHeadlights (0x1212aef20). One of the two will be used. Which one is undefined.

objc[3411]: Class MacGUDEUtils is implemented in both /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/MacOS/Adobe Lightroom Classic (0x104496a50) and /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/PlugIns/AdobeHeadlights.lrmodule/Contents/MacOS/AdobeHeadlights (0x1212aef70). One of the two will be used. Which one is undefined.

objc[3411]: Class PlatformFileOStream is implemented in both /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/MacOS/Adobe Lightroom Classic (0x104496aa0) and /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/PlugIns/AdobeHeadlights.lrmodule/Contents/MacOS/AdobeHeadlights (0x1212aefc0). One of the two will be used. Which one is undefined.

objc[3411]: Class GUDERequestCFNetwork is implemented in both /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/MacOS/Adobe Lightroom Classic (0x104496af0) and /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/PlugIns/AdobeHeadlights.lrmodule/Contents/MacOS/AdobeHeadlights (0x1212af010). One of the two will be used. Which one is undefined.

objc[3411]: Class ChunkInputStreamFactory is implemented in both /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/MacOS/Adobe Lightroom Classic (0x104496b40) and /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/PlugIns/AdobeHeadlights.lrmodule/Contents/MacOS/AdobeHeadlights (0x1212af060). One of the two will be used. Which one is undefined.

objc[3411]: Class SeekableInputStream is implemented in both /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/MacOS/Adobe Lightroom Classic (0x104496bb8) and /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/PlugIns/AdobeHeadlights.lrmodule/Contents/MacOS/AdobeHeadlights (0x1212af0d8). One of the two will be used. Which one is undefined.

objc[3411]: Class GUDERequest is implemented in both /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/MacOS/Adobe Lightroom Classic (0x104496c08) and /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/PlugIns/AdobeHeadlights.lrmodule/Contents/MacOS/AdobeHeadlights (0x1212af128). One of the two will be used. Which one is undefined.

objc[3411]: Class GUDERequestNSURL is implemented in both /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/MacOS/Adobe Lightroom Classic (0x104496c30) and /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/PlugIns/AdobeHeadlights.lrmodule/Contents/MacOS/AdobeHeadlights (0x1212af150). One of the two will be used. Which one is undefined.

objc[3411]: Class HttpSession is implemented in both /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/MacOS/Adobe Lightroom Classic (0x104496c80) and /Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app/Contents/PlugIns/AdobeHeadlights.lrmodule/Contents/MacOS/AdobeHeadlights (0x1212af1a0). One of the two will be used. Which one is undefined.

 

I want a fix for this very quickly, as I cannot use Lightroom Classic. Lightroom and Photoshop work. I think there are other users experiencing the same issue.

Ian Lyons
Community Expert
Community Expert
April 12, 2023

You may be experiencing the issue described in the thread linked below. Others have managed to get LrC running by following the instructions provided in the pinned reply just under the first post. 

 

https://community.adobe.com/t5/lightroom-classic-bugs/p-lrc-12-2-1-fails-to-start-launch-or-is-extremely-slow-launching/idi-p/13673512

 

Note that that this post will likely be merged with the linked thread at some point.

Participating Frequently
April 11, 2023

this fixed my problem

Participant
April 10, 2023

the windows workaround worked for me 🙂

 

Participant
April 10, 2023

Many thanks.

 

Renaming the metrics.json file worked!

johnrellis
Legend
April 10, 2023

@Sootyvrs, try deleting the file "metrics.json", following the precise steps here:
https://community.adobe.com/t5/lightroom-classic-bugs/p-lrc-12-2-1-fails-to-start-launch-or-is-extre...


The process can be a little persnickety, so follow the steps exactly.

Participant
April 10, 2023

I was having the same issue.  This fixed it for me too.  Thank you.