-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waperd slowly uses up Swap space #81
Comments
Hello @DhruvaSambrani and thank you for the report! I am using Which version of wpaperd are you running? |
It does not fill up right away, only after some time (I'm not really sure how long, I only realize it when apps start to stutter and i have to kill wpaperd). Also, I am not sure why, but the ram doesn't actually fill up for me, only the swap.
But it was installed using the wpaperd-git package, whose version is
|
Not "slowy" if I run There seems to be a big memory issue Between the first and second times
|
Hi @rolflobker and @DhruvaSambrani ! That's actually a lot of memory used... I investigated a bit, there is some memory leaked by the driver (I have an AMD card) which I am not able to pinpoint the source and a fix. Some fellow rust developers suggested to use jemalloc allocator in place of malloc, to reduce memory fragmentation. I have pushed a small commit with it, can you please try again? |
Just pulled the new commit, uninstalled previous build, created new build and installed that. Effect of 60 times
Actual RSS mem used, when running
This is on a 1 monitor system by the way, so probably 3 times worse on triple monitor system. Setting a new wallpaper 300 times is probably a bit much. But I have assigned a keyboard shortcut to Makes more sense currently to bind By the way: I have an NVIDIA card. |
That is still a LOT of memory. Can I ask what GPU is currently running? I suspect it to be related to the driver and my implementation not playing along fine. |
|
Intel HD Graphics user on Fedora and Hyprland. Seems to be the same issue. It takes up large amounts of RAM (being that I'm only running on a 4GB laptop) and clears up when the process is killed. |
That's what I was thinking as well. Btw: love your wallpaper! |
Version: v1.01
the most recent git release seems too have the same issue with 4gb mem usage after 72.13 minutes i have a 3 monitor system |
This issue has been finally fixed by #86 . |
I am not entirely sure if this is the case, but my swap reaches 99% after using
wpaperd -d
for a while. Killing the daemon and starting it again drops the swap usage back to ~0, until it eventually (over many hours) comes back up.The text was updated successfully, but these errors were encountered: