You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I use docker container with a long running python script, where i restart chrome with sb each hour (it doesnt matter if it use pure cdp or plain sb). I know, that i close browser properly with sb.driver.quit because cpu usage spikes down. But i see that ram used by script slowly rising up. What can i do to prevent that? i know that it happens because of multiple browser restarts. Could anyone give me any advice?
I know that you advice not to use it in container, but i have no other options, and i dont think that it is because of that.
I also see in resources usage, that when chrome starts and closes, ram usage spikes. But it looks like ram does not go down completely to the point it was before starting chrome
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I use docker container with a long running python script, where i restart chrome with sb each hour (it doesnt matter if it use pure cdp or plain sb). I know, that i close browser properly with sb.driver.quit because cpu usage spikes down. But i see that ram used by script slowly rising up. What can i do to prevent that? i know that it happens because of multiple browser restarts. Could anyone give me any advice?
I know that you advice not to use it in container, but i have no other options, and i dont think that it is because of that.
I also see in resources usage, that when chrome starts and closes, ram usage spikes. But it looks like ram does not go down completely to the point it was before starting chrome
Beta Was this translation helpful? Give feedback.
All reactions