-
-
Notifications
You must be signed in to change notification settings - Fork 589
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 leak #935
Labels
not reproduced
The developers have tried but failed to reproduce the issue
Comments
@Minetest-j45 Could you please compile picom with address sanitizer enabled (in meson_options.txt)? |
yshui
added
the
not reproduced
The developers have tried but failed to reproduce the issue
label
Nov 20, 2022
When you say the memory usage increases, what's the time frame? An hour? A day? Several days? |
Also, what is your window manger? |
I think all these memory leaks are the same problem, the annoying thing is I can't reproduce the problem myself, which makes debugging harder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Platform
Arch 6.0.9-arch1-1 x86_64
GPU, drivers, and screen setup
card: AMD RX 6600XT
driver: amdgpu
setup: 2 monitors, side by side with xrandr
Configuration:
Configuration file
Steps of reproduction
I recently updated picom to the latest version on pacman (released 2022-11-15)
I started experiencing frequent system freezes (OOMs) which could only be fixed by restarting with the button on my pc case
At the top of htop, it showed that RAM usage was always increasing, however no process on the htop list seemed to be using all my (16GB) RAM
After much pain and debugging, today, i noticed the OOM was related to graphics
After playing around with radeontop, i saw that what was happening was that something was using up all my VRAM, and once it was all used up, it would start using my GTT (which from my understanding is just my graphics card using RAM as VRAM when it doesnt have enough), which would then eat up my RAM
In a last hope of desperation, i checked which packages i had upgraded on the day that the issue started. And there, i saw, picom, among other things
I was looking for graphics related things so picom stood out, i tried killing picom and lo and behold, the RAM usage stopped climbing so rapidly, yet it was not all freed instantly
it seems like the only way to actually free this used up RAM is to restart
Expected behavior
no OOM
Current Behavior
picom uses all my vram, then my gtt, and my system ooms
Stack trace
none
OpenGL trace
none
Other details
if i have described something poorly and you dont understand, feel free to say something and i will try to rephrase it
also, sorry for bad steps to recreate, as all i did was upgrade the package so i just tried to explain everything i know about the bug/how i managed to debug it
Current solution
pkill -9 picom
The text was updated successfully, but these errors were encountered: