https://bugs.kde.org/show_bug.cgi?id=509123
Bug ID: 509123
Summary: Short interval slideshow wallpaper memory leak
Classification: Plasma
Product: plasmashell
Version First 6.4.4
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Out of memory notification
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
SUMMARY
Plasmashell rapidly consumes more and more memory if the wallpaper is set to
slideshow and the interval is very short. The folder it's cycling through at
random contains 35 PNG images with an average size of 1.6 MiB. The shorter the
interval, the more rapidly plasmashell eats up memory. It does not seem to
occur when the screen is locked.
STEPS TO REPRODUCE
1. Set wallpaper type to slideshow, probably with multiple images to cycle
through.
2. Set "Change every:" to a low value, use 1 second to very quickly see the
effect.
3. Use the computer actively for anything.
OBSERVED RESULT
Plasmashell consumes more and more memory until it either restarts due to out
of memory crash or the service is manually restarted.
EXPECTED RESULT
Memory usage stays under control regardless of the slideshow interval.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
ADDITIONAL INFORMATION
I became suspicious about the slideshow wallpaper feature causing issues after
searching online, where I came across bug #403563 mentioning something about
it. Increasing the interval to something like 10 minutes immediately improved
the issue for me, but it just seems to consume memory a lot slower.
Setting the wallpaper to use a single image instead of a slideshow seems to not
cause this issue at all.
I initially had my slideshow interval set to 10-20 seconds and the memory issue
became problematic at around 1 hour of usage with 8 GiB of RAM and 8 GiB of
swap on my system. I restarted the plasmashell service to run a test. It
started out at ~300 MiB of memory usage. I then set the slideshow interval to 1
second and after about 2-3 minutes plasmashell took up ~2 GiB of memory, at
which point I stopped the test by setting the wallpaper to just one image. The
memory immediately stopped increasing at that point, but after another 10
minutes plasmashell still had not decreased in memory usage.
--
You are receiving this mail because:
You are watching all bug changes.