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
The same thing happens even in 'Browse mode' (press 'esc' after opening the image to view other images in the directory).