https://bugs.kde.org/show_bug.cgi?id=445396
Bug ID: 445396 Summary: Memory leak / too much memory consumption on larger image directories Product: gwenview Version: 19.12.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: gwenview-bugs-n...@kde.org Reporter: haa...@welmers.net Target Milestone: --- Dear gwenview authors / maintainers, SUMMARY Memory consumption of gwenview seems to be quite high on folders with many pictures. It also seems that when I move to another directory, the memory of the previously opened folder is not (enough) released. When navigating though my photo archive for instance trying to find something quickly, this causes severe swapping out of other programs running on my computer (having 12GB RAM in total) and eventually when I have scrolled through a few directories, this results in OOM / system lockup. STEPS TO REPRODUCE When opening Gwenview to view images in quite a large directory, for instance this folder containing jpeg photos: ~/Camera2020$ du -hs 11G . ~/Camera2020$ ls | wc -l 2375 the memory consumption immediately is quite high, at least 2GB RES. When I click on one picture to enlarge it and start swiping though the directory, the RES usage quickly grows to 4,1GB. When I move to another directory, for instance Camera2021, also containing 10GB of jpeg photos, and I do the same, the RES memory consumption quickly rises to over 5GB. This increases further when continuing opening other directories. OBSERVED RESULT Increasingly high memory consumption EXPECTED RESULT Memory consumption at least drops when navigating away from folder SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 20.04 (available in About System) KDE Plasma Version: plasma-desktop: 5.18.5-0ubuntu0.1 KDE Frameworks Version: 5.68.0-0ubuntu1 Qt Version: 5.12.8 ADDITIONAL INFORMATION I've also tried recent versions of Gwenview from Flatpak and Snap, but I've seen same behaviour. I will try the steps on newer versions tomorrow. -- You are receiving this mail because: You are watching all bug changes.