Lightroom: major memory leak in Windows while reviewing the photos in Full Screen or Loupe View

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
  • (Edited)
When trying to review the photos in Loupe View or Full Screen View and mark them with Rejected Flag (X key) after couple of dozens files the next photo remains in Loading state (see the attached screenshot), the Lightroom doesn't freeze but doesn't quit this loading state for any photo. In the Task Manager the amount of memory that Lightroom takes could be 1.5-9 GB (yes Gigabytes!). The attempt to close the Lightroom quits the GUI but the proccess lightroom.exe remains in Task Manager taking all that memory and if you try to end the proccess it takes several minutes until the OS kills it. Until then the system respond slowly. It very easy to reproduce, happens each time when trying to review the photos. 


My config: 
Lightroom version: 6.4 [ 1060496 ]
Operating system: Windows 7 
Version: 6.1
Application architecture: x64
System architecture: x64
Logical processor count: 4
Processor speed: 2.8 GHz
Built-in memory: 16070.8 MB

When the Lightroom is started:
Real memoy available to Lightroom: 16070.8 MB
Real memory used by Lightroom: 766.2 MB (4.7%)
Virtual memory used by Lightroom: 766.2 MB
Memory cache size: 0.0 MB

When the issue happens:
Real memory available to Lightroom: 16070.8 MB
Real memory used by Lightroom: 1474.6 MB (9.1%)
Virtual memory used by Lightroom: 1478.1 MB
Memory cache size: 1681.8 MB

Maximum thread count used by Camera Raw: 4
Camera Raw SIMD optimization: SSE2,AVX,AVX2
System DPI setting: 96 DPI
Desktop composition enabled: Yes
Displays: 1) 1680x1050, 2) 1680x1050

Graphics Processor Info: 
GeForce GT 730M/PCIe/SSE2

Check OpenGL support: Passed
Vendor: NVIDIA Corporation
Version: 3.3.0 NVIDIA 354.45
Renderer: GeForce GT 730M/PCIe/SSE2
LanguageVersion: 3.30 NVIDIA via Cg compiler


Application folder: C:\Program Files\Adobe\Adobe Lightroom
Library Path: E:\Pictures\Lightroom\Lightroom Catalog.lrcat
Settings Folder: C:\Users\Orcus\AppData\Roaming\Adobe\Lightroom

Installed Plugins: 
1) Canon Tether Plugin
2) Facebook
3) Flickr
4) Leica Tether Plugin
5) Nikon Tether Plugin

Config.lua flags: None

Adapter #1: Vendor : 10de
Device : 1290
Subsystem : 220f17aa
Revision : a1
Video Memory : 976
AudioDeviceIOBlockSize: 1024
AudioDeviceName: Speaker/HP (Realtek High Definition Audio)
AudioDeviceNumberOfChannels: 2
AudioDeviceSampleRate: 44100
Build: LR5x102
Direct2DEnabled: false
GPUDevice: not available
OGLEnabled: true
Photo of Andrey Sloutsman

Andrey Sloutsman

  • 5 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Simon Chen

Simon Chen, Principal Computer Scientist

  • 1417 Posts
  • 437 Reply Likes
Given your machine configuration, the amount of Lr memory usage is not out of the ordinary. See http://regex.info/blog/2016-01-05/2664.

If you build out the 1:1 previews or standard previews if your preview size setting is set to Auto in the catalog settings dialog, does the hiccup still happens?
Photo of Andrey Sloutsman

Andrey Sloutsman

  • 5 Posts
  • 0 Reply Likes
These are my Catalog settings
Photo of Andrey Sloutsman

Andrey Sloutsman

  • 5 Posts
  • 0 Reply Likes
Well, it seems that I've found the rootcause. The problem was in bad sectors in my hard drive. When trying to load particular photos the system got frozen. It is nothing to do with the Lightroom
Photo of Simon Chen

Simon Chen, Principal Computer Scientist

  • 1417 Posts
  • 437 Reply Likes
Thank you for reporting back your findings.