Bug 442432

Summary: Memory leak when changing wallpaper
Product: [Plasma] plasmashell Reporter: 8p9gce0j8
Component: Image WallpaperAssignee: Marco Martin <notmart>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.22.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description 8p9gce0j8 2021-09-14 13:19:26 UTC
SUMMARY
I am using the SmartER video wallpaper plugin which is why I noticed the issue but it is present when using the default wallpaper plugins as well. 

Because I am using a large video file as my wallpaper I switch it out to slideshow so that I could put my computer to sleep (it takes a long time to go to sleep if I don't). The problem is that after a few days of doing this my ram usage becomes extremely high. This memory is freed immediately if I restart KDE.

STEPS TO REPRODUCE
1. Check the amount of ram that is being used.
2. Set wallpaper to one of the options that is not in use.
3. Change it back to the initial option.
4. Repeat several times to increase the effect.
5. Check the amount of ram that is now being used.

OBSERVED RESULT

Ram usage increased.

EXPECTED RESULT

Ram usage stays the same.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.10.63-1-lts
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-09-16 17:38:38 UTC

*** This bug has been marked as a duplicate of bug 441079 ***