-
Notifications
You must be signed in to change notification settings - Fork 113
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
Can cause memory leak for xdg-desktop-portal #56
Comments
By the looks of it, the proc filesystem contains a cycle, trapping unsuspecting programs in it. If that's truly the case, I wonder if that's a bug in Flatpack more than a bug in any tool that rightfully (?) expects filesystems trees to be acyclic. Regarding memory usage: In order to handle hard-links, a mapping is maintained from inodes with more than one reference. In If the proc filesystem somehow does produce cycles, this issue would probably become something like handle cyclic filesystems gracefully , as right now it would probably go into an infinite loop. In order to make this issue actionable, more information is required, maybe you can help answering these questions of mine:
Thank you |
|
Seems like not. Problem comes from here |
Thanks for looking into this and for narrowing down the cause of the issue. As I am on MacOS, I can't exactly reproduce this issue easily, and would be relying on a PR fixing it or on way more information on what you think is causing this within |
If be more precisely: |
Thanks for digging in! I believe that hardcoding exceptions without understanding the root cause is not really going to help in the long-term, and thus would be happy to wait until you figured out what is causing this. By the way: if you run |
Memory leak happens when running
dua
on root/
partition, see related bug.How to reproduce:
Just install some flatpak apps system-wide and run them before. Then run
dua
on/
.The text was updated successfully, but these errors were encountered: