Bug 480921 - Gwenview eats RAM when generating thumbnails
Summary: Gwenview eats RAM when generating thumbnails
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.4
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-05 20:51 UTC by Rafael Linux User
Modified: 2025-09-25 03:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Linux User 2024-02-05 20:51:02 UTC
SUMMARY
I have 2025 JXL files in a folder. When I open it with Gwenview, it begin to show thumbnails, while literally eating all my RAM till I have no more (I have 16GB RAM).


STEPS TO REPRODUCE
1. Create a directory with JXL images (HD resolution mostly)
2. Open previous folder with Gwenview

OBSERVED RESULT
While generating thumbnails, Gwenview eats all RAM slowly, till system need to take swap storage and then system begin unresponsive. 

EXPECTED RESULT
To show thumbnails without issues.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240202
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.7.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 24 ร— AMD Ryzen 9 3900X 12-Core Processor
Memory: 16 GiB of RAM
Graphics Processor: AMD Radeon RX 7600
Product Name: B550M Phantom Gaming 4

ADDITIONAL INFORMATION
This begin to happen just after transcode all 2025 JPG  files to JXL. So I think is related to the way Gwenview is managing JXL thumbnails.
Comment 1 A Linux User 2025-08-25 10:47:42 UTC
Has "Low Ressource Mode" helped you? Does the bug persist in Gwenview 25.08?
Comment 2 Rafael Linux User 2025-08-26 20:28:20 UTC
Regarding speed, the truth is that now, without even activating "low resources" mode, reading JXL files is quite fast from an external USB hard drive. RW2 (RAW) files take the same amount of time. As for RAM memory, I don't notice a significant difference between having low resources mode enabled or not.

Where I don't see any speed increase after enabling this mode is when opening folders with videos. It's equally slow creating video thumbnails.
Comment 3 Bug Janitor Service 2025-09-10 03:48:20 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-09-25 03:46:53 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.