-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[nodriver] Memory leak using with Chrome, Edge & Brave #1851
Comments
Thanks @ilike2burnthing for referring to the uc issue but unfortunately the unclosed chrome processes of undetected-chrome is different than this issue with the nodrive package. The issue that I face is a memory leak within the python process itself as shown in the snapshot below. |
Update: I have tried three different browsers (Chrome, Brave and Edge) and the memory leak is still observed with all of the browsers so far |
There are a few other open issues pertaining to leaks, though again they seem to be for UC: As a test, try reverting to Chrome v119 and v115. If you need clean installers (check the signatures, they're legitimate offline Chrome installers) - https://filecr.com/windows/google-chrome/?id=847089664000 You'll need to uninstall Chrome first, otherwise it won't install the older version if a newer version is present, and then reinstall normally once done with testing, as it won't auto-update. |
I encountered the same issue, and switching to an older version of the browser still didn't resolve it. Are there any good solutions? |
Is there a solution to this problem? |
I noticed the same problem. If I iterate over an array of links, get_content() increases the memory usage of the python process each time. (memory leak). |
@life-live no solution is found yet so far, we highly appreciate it if you can give it some time when possible @ultrafunkamsterdam |
Good day @ultrafunkamsterdam
Thanks for the amazing nodriver project, I'm experiencing a continuous memory leak on a larger project when using nodriver and I tested this leak over the sample code below and as long as the code is running, it is leaking memory by 2MB per web page visited which is causing the program to be leaking around 10 GB when left running for 8 hours.
The code ran on Windows 11 and Linux where the same behaviour is noticed for both OS.
The text was updated successfully, but these errors were encountered: