-
-
Notifications
You must be signed in to change notification settings - Fork 245
Fills RAM until it makes my PC/Laptop locked #866
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
Comments
I suspect this has to do with the new module discovery code. Could you maybe produce a log with strace so that we can see what it tries to crawl and if ends up in a loop? |
I've encountered this too. I couldn't get strace to output to a file without hanging, but here's the last bit of the output before I stopped it after 5 minutes: https://gist.github.com/domdfcoding/0aea640a1ae3fefa0d046bfdd9ea70c2 The output was pretty much the same before this. In those 5 minutes the memory usage the memory usage rose from 20MB to over 100MB. When I first noticed this it had been running for about an hour and ended up using 13GB of memory. |
Thanks. Looks like we have to try to deal with mount points or at least blacklist some paths - including wine specific paths, /sys, /proc. |
Sorry for late response. Same strace output with @domdfcoding
|
Still appears to be an issue for me, I use a variety of tools including Proton and Lutris. Steam seemed to have an infinite depth wine prefix scanning problem in ValveSoftware/steam-for-linux#7372 (comment) which may be related. I think there should be some upper hard limit at which point no more modules are discovered, say if more than 500MB of memory is consumed then the scanning should be disabled since something clearly went wrong. Edit: Nevermind, apt package (outdated) was shadowing user-installed v0.21, fixed once I uninstalled the (outdated) system bpython. |
Memory usage increases until it fills my RAM and locks my PC/Laptop
Here is my screen record to show it:
https://www.youtube.com/watch?v=B3_0iTqkqkg
CPU architecture: 64 bit Intel
OS:Linux/Manjaro/KDE
Python version: 3.8.6
bpython version: 0.18, 0.19, 0.20 (didnt tested with older versions)
Same thing appears with my laptop too.
The text was updated successfully, but these errors were encountered: