Bug 502953

Summary: Setting avif or gif image as wallpaper causing major memory leak
Product: [Plasma] plasmashell Reporter: harderqharder
Component: Image & Slideshow wallpaper pluginsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: kde, nate, notmart, qydwhotmail
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description harderqharder 2025-04-18 00:16:29 UTC
SUMMARY

If I set avif or gif (animated) images as my wallpaper, it will start memory leaking right away until all of my RAM space is filled and my system become unresponsive. I am pretty sure this is a memory leak because once I reset my wallpaper to a static image, the memory growth stops.

STEPS TO REPRODUCE
1. Set avif or gif image to wallpaper in the KDE setting
2. Check the memory usage (e.g. via htop)

OBSERVED RESULT
The memory usage immediate goes up once I set the wallpaper to avif or gif, and eat up all my 32G Ram in few minutes

EXPECTED RESULT
The memory should not go up in this extreme amount and my system should stay responsive

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux archlinux 6.14.2-arch1-1
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
My PC spec:
Intel i5-12400, 32G DDR4 Ram, Nvidia RTX 2070, 1TB SSD

Nvidia driver version: 570
Comment 1 Nate Graham 2025-04-18 17:42:40 UTC

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