https://bugs.kde.org/show_bug.cgi?id=517906
Bug ID: 517906
Summary: Generating image thumbnails can consume absurd amounts
of RAM
Classification: Applications
Product: dolphin
Version First 25.12.3
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 190855
--> https://bugs.kde.org/attachment.cgi?id=190855&action=edit
Proof of concept demonstrating the bug (32K by 32K pixels, all-white, 8bpc RGB)
SUMMARY
Generating thumbnails for images with extremely high resolution (such as when
hovering over them with "Show item information on hover", or when the image is
written out while the folder is being viewed) can sometimes consume far higher
amounts of system RAM and CPU than expected
STEPS TO REPRODUCE
1. Enable "Show item information on hover"
2. Hover over an image
3. Wait 1-3 seconds
OBSERVED RESULT
Dolphin occasionally spawns several kioworkers which each consume multiple
gigabytes of RAM, with a peak overall usage of between 5 and 20 GiB from my
testing.
EXPECTED RESULT
- only one kioworker is spawned to generate the thumbnail, not multiple
- the kioworkers recognize early that the image is very large and automatically
stop trying to generate a thumbnail for it before consuming so much memory
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.6.2
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.19.7-200.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i5-1334U
Memory: 48 GiB of RAM (46.8 GiB usable)
Graphics Processor: Intel® Graphics
--
You are receiving this mail because:
You are watching all bug changes.