-
-
Notifications
You must be signed in to change notification settings - Fork 595
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
Picom memory leaks when the window is resized #905
Comments
One leak in your log does stand out, but it's only 60k, the 3gb memory usage is probably something else. |
Related: #905 Signed-off-by: Yuxuan Shui <[email protected]>
This is only one minute of analysis. If I ran longer, the leaks would be greater. |
@yshui Did you watch the video? |
@Monsterovich ah, ok. if that's the case can you test if the newest commit fixed the problem? |
Not entirely.
The previous picom release doesn't show any leaks in asan. |
@Monsterovich I can't reproduce this leak with AMD driver, maybe it's a leak in NVIDIA's driver? |
Related: yshui#905 Signed-off-by: Yuxuan Shui <[email protected]>
I've got big issues myself. Version vgit-d59ec on i3-gaps 4.19.1 @ Ubuntu 22.04. I've tested resizing a window back and forth for a minute or so and the cache usage increased by 1 GB over 30 seconds. Killing picom freed it immediately. |
I just installed v9.1, and I didn't face the same issue. |
Related: yshui#905 Signed-off-by: Yuxuan Shui <[email protected]>
Related: yshui#905 Signed-off-by: Yuxuan Shui <[email protected]>
Related: yshui#905 Signed-off-by: Yuxuan Shui <[email protected]>
The driver 520.56.06 also has this issue.
|
@yshui Shall we report this bug to NVidia? |
Well now your stack trace shows a leak that hasn't been seen before. I will have a look. |
@Monsterovich can you run latest |
I got the same asan output, no crashes so far. |
@yshui What about leaks in the NVidia OpenGL library? We don't have a full stack trace. |
Duplicate of #892 |
Let's continue the discussion in #892 |
Related: yshui#905 Signed-off-by: Yuxuan Shui <[email protected]>
Related: yshui#905 Signed-off-by: Yuxuan Shui <[email protected]>
About 3 gigabytes have leaked in a few days.
Platform
Linux Mint 20.3
GPU, drivers, and screen setup
Environment
xfce4
picom version
next
Configuration:
Configuration file
Video
https://www.youtube.com/watch?v=RvaElnrqH7oValgrind logs:
leak.txt
I did:
The text was updated successfully, but these errors were encountered: