Lightroom CC 2015.12: macOS Sierra 10.12.6 - memory leak during Import or when left open for long periods

  • 4
  • Problem
  • Updated 5 months ago
  • Acknowledged
  • (Edited)
I have been getting this since the CC2015.12 release. 

For me, I can reproduce it reliably by plugging in a device with a lot of photos on it (might be my phone, or a particularly loaded card on one of the cameras), and telling LR to import only new photos. It churns away gobbling ram until it has used all the available physical ram, and the same amount in compressed ram. I have screen caps of LR's System Info and macOS Activity Monitor at the point where LR is suspended by the OS. 

I also have a spindump of just before that point. 

However the problem also happens if LR has been left open for a long period of time.

Peculiarities of my setup:

Catalogue stored locally on iMac, but image files are stored on a NAS.
Brand new 2017 iMac, 4.2Ghz i7, 40Gb RAM.
2nd screen is an older 2011 iMac running in Target Display Mode connected via thunderbolt.

Very little video in the catalogue, mostly Canon CR2 RAW files from a range of camera models.

System Info about 10 secs after opening LR. (memory usage continues to climb without clicking on anything)

Lightroom version: CC 2015.12 [ 1125239 ]License: Creative Cloud
Operating system: Mac OS 10
Version: 10.12 [6]
Application architecture: x64
Logical processor count: 8
Processor speed: 4.2 GHz
Built-in memory: 40,960.0 MB
Real memory available to Lightroom: 40,960.0 MB
Real memory used by Lightroom: 2,089.4 MB (5.1%)
Virtual memory used by Lightroom: 3,661.5 MB
Memory cache size: 438.5MB / 9,984.0MB (4.4%)
Maximum thread count used by Camera Raw: 5
Camera Raw SIMD optimization: SSE2,AVX,AVX2
Camera Raw virtual memory: 25MB / 20479MB (0%)
Displays: 1) 5120x2880, 2) 2560x1440

Graphics Processor Info: 
AMD Radeon Pro 580 OpenGL Engine

Check OpenGL support: Passed
Vendor: ATI Technologies Inc.
Version: 4.1 ATI-1.51.8
Renderer: AMD Radeon Pro 580 OpenGL Engine
LanguageVersion: 4.10

Application folder: /Applications/Adobe Lightroom
Library Path: /Users/david/Pictures/Lightroom/DDGP/DDGP.lrcat
Settings Folder: /Users/david/Library/Application Support/Adobe/Lightroom

Installed Plugins: 
1) AdobeStock
2) Aperture/iPhoto Importer Plug-in
3) Canon Tether Plugin
4) Export to Autopano Giga
5) Export to Autopano Giga 3
6) Facebook
7) Flickr
8) HDR Efex Pro 2
9) Leica Tether Plugin
10) Lightroom Analytics
11) LR/Mogrify 2
12) Nikon Tether Plugin
13) Show Focus Points

Config.lua flags: None

AudioDeviceIOBlockSize: 512
AudioDeviceName: Built-in Output
AudioDeviceNumberOfChannels: 2
AudioDeviceSampleRate: 44100
Build: Uninitialized
CoreImage: true
GL_RENDERER: AMD Radeon Pro 580 OpenGL Engine
GL_VENDOR: ATI Technologies Inc.
GL_VERSION: 2.1 ATI-1.51.8
OGLEnabled: true
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_APPLE_aux_depth_stencil GL_APPLE_client_storage GL_APPLE_element_array GL_APPLE_fence GL_APPLE_float_pixels GL_APPLE_flush_buffer_range GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_APPLE_pixel_buffer GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_specular_vector GL_APPLE_texture_range GL_APPLE_transform_hint GL_APPLE_vertex_array_object GL_APPLE_vertex_array_range GL_APPLE_vertex_point_size GL_APPLE_vertex_program_evaluators GL_APPLE_ycbcr_422 GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_barrier GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod 
Photo of David de Groot

David de Groot

  • 5 Posts
  • 1 Reply Like
  • frustrated

Posted 7 months ago

  • 4
Photo of Art M.

Art M.

  • 72 Posts
  • 15 Reply Likes
I have had new problems in 2015.12 related to running out of "application memory" during import of new photographs, and once it just got hung during import.   Also prior to executing the import I sometimes see a list of photographs that are in a neighboring folder rather than the folder I selected, and then it can't find thumbnails for those new photos.  I will try to take more specific notes about the situation it if happens again.   
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 2920 Posts
  • 416 Reply Likes
I have seen this previously and logged an issue for it. 
Photo of Janelle Horsley

Janelle Horsley

  • 3 Posts
  • 0 Reply Likes
Hi, has there been any solution for this problem? I'm having a very similar issue on the same OS, 2017 MacBook Pro, 16GB RAM. 
Photo of David de Groot

David de Groot

  • 5 Posts
  • 1 Reply Like
Not that I've seen as yet. 
Photo of Janelle Horsley

Janelle Horsley

  • 3 Posts
  • 0 Reply Likes
So what have you been doing? Just dealing with the crashes? 
Photo of David de Groot

David de Groot

  • 5 Posts
  • 1 Reply Like
Not leaving LR open for long periods.
Making sure I import after each shoot, so as to not have too much on the card when importing (as this 'causes it to fail). So, yeah, management of the problem, and hoping the next patch release fixes the issue.
Photo of Juned Shaikh

Juned Shaikh

  • 1 Post
  • 0 Reply Likes
IS there a solution in sight? Looks like this is a universal problem and has nothing to do with amount of RAM, the lightroom CC simply gobbles all the RAM and renders iMac in a hung state. 
Photo of Janelle Horsley

Janelle Horsley

  • 3 Posts
  • 0 Reply Likes
I finally worked with Adobe and they helped me revert to LR 2015.10.1 several weeks ago, and it seems to have resolved so far. I did have one RAM-related crash since then, but I think it may have been due to Safari. Hope that helps!  
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 13634 Posts
  • 1543 Reply Likes
Have you guys tried Lightroom Classic CC (v7.0.1)?
Photo of David de Groot

David de Groot

  • 5 Posts
  • 1 Reply Like
Yes, but it is too soon to tell if this problem still exists. It *does* still use a significant amount of RAM but I haven't run out completely yet.