https://bugs.kde.org/show_bug.cgi?id=501274

            Bug ID: 501274
           Summary: Garbage Collector is not cleaning memory
    Classification: Plasma
           Product: plasmashell
           Version: 6.3.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Wallpaper images
          Assignee: plasma-b...@kde.org
          Reporter: arthurciprianol...@gmail.com
  Target Milestone: 1.0

SUMMARY

I use an extension to reproduce videos as wallpapers on my desktop. Actually I
am contributing to the project on GitHub here:
https://github.com/luisbocanegra/plasma-smart-video-wallpaper-reborn and I made
a preview for the videos to see how the videos will be treated in some
circumstances. I did a pull request
(https://github.com/luisbocanegra/plasma-smart-video-wallpaper-reborn/pull/94)
but we found a memory bug that can crash some weak computers.

The RAM usage still increasing after close the media component and event
closing the wallpaper settings window, the .destroy() method and garbage
collector calls don't have any effect. The only way to reduce the RAM usage is
restarting the plasmashell service. I tried other things like Load videos using
webviews, using dynamic Video components bug nothing resolves this.

STEPS TO REPRODUCE
1. Clone
https://github.com/ArthurLobopro/plasma-smart-video-wallpaper-reborn/tree/feat-real-time-video-show
2. Build and Install using install.sh
3. Choose the extension as Wallpaper and add some videos
4. Click in Show videos list and after Click on settings button for each video
added
5. See the RAM usage raising
6. Close the settings window 

OBSERVED RESULT

The RAM usage keeps high, even closing the window

EXPECTED RESULT

The RAM usage should fall because the videos should be destroyed after closing
the window

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Big Linux based on Manjaro
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION

If I change the wallpaper to an image and after I change again to the plugin
the RAM usage raises the same way, something aren't stopping and cleaning
unused media players

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to