Skip to main content
Participant
December 20, 2022

P: Memory usage/utilization is skyrocketing up to 13-14GB and start swappingg memory to SSD with GPU

  • December 20, 2022
  • 5 replies
  • 431 views

Issue: Memory usage/utilization is skyrocketing up to 13-14GB and start swaping memory to SSD, with the healing brush feature with "Auto" or all "Custom" in performance tab options selected

Provide Lightroom Classic version: Lightroom Classic version: 12.1 [ 202212072312-d7ab524b ]
Provide OS and version: Mac OS 13.1.0 [22C65]
Application architecture: arm64

Graphics Processor Info:
Metal: Apple M1
Init State: GPU for Export supported by default
User Preference: Auto
AND User Preference: GPU for Export enabled
AND User Preference: GPU for Image Processing Enabled

Issue: Provide good steps to reproduce the behavior:
Step 1: open any photo to processing,
Step 2: use healing brush few times, add some point,
Step 3: wait for LR eat memory from 2,5-3GB standard to 12-13 GB and check resource monitor

ONLY when User Preference: GPU for Display Enabled
this problem does not occur

Expected result: memory should remain at the same level than user optiom: GPU for Display Enabled
Actual result: memory utilization go to peak level and kernel_task proces starts swaping it to disk, can even write around 5-10GB to disk while one photo are processing


Disabling the GPU option completely and enabling it only on the "GPU for display" position helps keep memory usage low and program work culture good.

This topic has been closed for replies.

5 replies

Rikk Flohr_Photography
Community Manager
January 11, 2023

updating status

Rikk Flohr: Adobe Photography Org
Ian Lyons
Community Expert
Community Expert
December 20, 2022

Thanks, Rikk.

 

Rikk Flohr_Photography
Community Manager
December 20, 2022

Ian, I am going to connect your bug to this thread. 

Rikk Flohr: Adobe Photography Org
Ian Lyons
Community Expert
Community Expert
December 20, 2022

I filed an internal bug report for the issue some months back. Actually, it's almost like you Copy/Pasted it to the forum 😉  Long story kept very short - LrC allocates an excessive amount of memory for GPU caching in Develop module. 

 

FWIW, the issue is most problematic when using the legacy Heal and Clone tools with the new AI Spot not far behind. Setting the GPU to 'Display Only' or 'Off' altogether is the workaround.

 

Participant
December 20, 2022

tested on Air M1/Mini M1 8c and M1 PRO 10c 16gpu with the same effect

Ian Lyons
Community Expert
Community Expert
December 20, 2022

My systems detailed below

 

  • Mac mini M1 16Gb memory 1 TB internal SSD
  • MacBook Pro M1 Pro 32GB memory 2TB internal SSD
  • Mac Studio M1 Ultra 64GB memory 1TB internal SSD

 

So, a greater amount of memory on the system doesn't help.