hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.15k stars 47 forks source link

Very high memory usage - increases with each walpaper change Ubuntu 22.04.4 #148

Open Rob-00t opened 8 months ago

Rob-00t commented 8 months ago

Using Ubuntu superpaper use of memory is very high. The process use till 2 or 3 GB of memory, depending how many time/walpaper change are executed. I'd like that superpaper process, be more efficient, in RAM memory usage.

OS: Ubuntu 22.04.4 LTS Desktop Environment Superpaper 2.2.1

Rob-00t commented 7 months ago

I have take a workaround making a bash script and run it with crontab every 15 minutes like this:

export WAYLAND_DISPLAY=wayland-0 export GNOME_SETUP_DISPLAY=:1 export DISPLAY=:0 kill $(pgrep -f 'superpaper') /usr/bin/python3 -m superpaper

Apologise for my poor skill in scripting! but running this from crontab, need first rows to set environment for graphics DISPLAY, of course I use in Ubuntu with WAYLAND.

hhannine commented 3 months ago

Thanks, I have noticed and been bothered by this issue in the past as well but I haven't been able to find the cause. Any help tracking down what's causing it would be greatly appreciated.