gnome-ext-hanabi icon indicating copy to clipboard operation
gnome-ext-hanabi copied to clipboard

Using a short video will cause memory leaks

Open CristianoBarone opened this issue 6 months ago • 1 comments

Description When using a video, once it loops it will be (or at least, I assume this is what happens) reallocated without freeing it first. This causes a problem when using a short HD video that ends taking up all the system memory in a few seconds.

OS and Shell Information Please provide your OS name and version, GNOME Shell version, and the session type (X11/Wayland).

  • OS: openSUSE Tumbleweed
  • GNOME Shell: 46.4
  • Session type: Wayland

Steps to Reproduce Please provide the steps to reproduce the bug you are encountering.

  1. Set a short video as wallpaper.
  2. Wait a few seconds.
  3. Experience massive memory leaks.

Expected Behavior The video is looped without allocating it again, or by freeing it and reallocating (although I really don't get why one would do this).

Actual Behavior Once the video loops it is (presumably) reallocated without freeing it, causing a massive memory leak.

Additional Information This happens both with VA on or off. Both with and without gtk4paintablesink and/or GtkMediaFile.

CristianoBarone avatar Aug 09 '24 11:08 CristianoBarone