hhannine / superpaper

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

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

Open Rob-00t opened 3 months ago

Rob-00t commented 3 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 2 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.