-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
memory leaking #772
Comments
Could it be some mesa GPU objects that will get garbage collected later? I guess we need to check with the Tracy memory profiler or something to see if there are any leaks on the Rust side. |
I added Tracy profiling. I can see the Rust memory increase every time I run swaylock. It's a bit hard to tell what gets leaked. Seems like some surface data might have a ref cycle? |
Found it: Smithay/smithay#1573 |
I have not test other window manager. I found other application also can cause memory leaking, especially kitty. Spawn multiple kitty in short time, and then close them quickly. I did it many times resulting in lot of memory leaking. This is my result screenshots. |
That is exactly what I've been rambling about in matrix room a few weeks ago. Recommend looking at my smithay issue and other linked issues. |
Screen locker leak should be fixed with 600cffb |
@xcccdjsn could you please test cosmic-comp for your kitty issue? I believe it's not niri specific and there's already a Smithay issue open. |
Gonna close this assuming it's the Smithay issue. |
I have used swaylock, hyprlock and gtklock, but all of them will increment memory amount every time after using it.
System Information
The text was updated successfully, but these errors were encountered: