Skip to content

Memory leak in lighttable #19867

@da-phil

Description

@da-phil

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

Switching between filtered collection, e.g. tags and successively hovering over or selecting images leads to steadily leaking memory until darktable is killed by the OS due to a out-of-memory exception, see captured screencast.

Steps to reproduce

See attached screencast, in lightable:

  • switch between filtered collections, e.g. tags
  • hover over images quickly or even select them

Expected behavior

No response

Logfile | Screenshot | Screencast

Screencast.from.2025-12-05.21-46-11.mp4

after 1-2 min of keep clicking, game over (darktable consumes 20GB RAM, 67% of total RAM):

Image

Commit

No response

Where did you obtain darktable from?

self compiled

darktable version

5.3.0+963~g46b054cf15 (latest master)

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 24.04

Describe your system

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Radeon 680M using ROCm 7.1.1

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions