Bug 424373 - Gvenview uses enormous amounts of RAM when browsing big image collections with thumbnails bar on
Summary: Gvenview uses enormous amounts of RAM when browsing big image collections wit...
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 20.04.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-18 12:24 UTC by Marcin Gurtowski
Modified: 2025-09-18 03:48 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 Marcin Gurtowski 2020-07-18 12:24:03 UTC
SUMMARY
When browsing huge collections of images (around 10000 and more) with previews bar enabled, gwenview can easily use up few GB of RAM. It appears application loads data for every single image in the directory and stores it in memory.

This could be optimized by limiting loaded previews to images user can see + some margin for images that are likely to be viewed soon.

STEPS TO REPRODUCE
1. Prepare directory with large number of images
2. Open one of images
3. enable thumbnails bar

OBSERVED RESULT
Application uses few gigabytes of RAM

EXPECTED RESULT
Ram usage should be much smaller

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.14.2
Kernel Version: 5.3.0-62-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4690K CPU @ 3.50GHz
Memory: 7.7 GiB of RAM
Graphics Processor: GeForce GTX 970/PCIe/SSE2
Comment 1 Kishore Gopalakrishnan 2020-08-23 09:11:08 UTC
The same thing happens even in 'Browse mode' (press 'esc' after opening the image to view other images in the directory).
Comment 2 A Linux User 2025-08-19 19:37:07 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0 (the latest released version)?
Comment 3 Bug Janitor Service 2025-09-03 03:47:55 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-18 03:48:26 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.