Skip to content
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

Appear to have memory leak in browser.open #74

Open
washad opened this issue Jun 26, 2017 · 3 comments
Open

Appear to have memory leak in browser.open #74

washad opened this issue Jun 26, 2017 · 3 comments

Comments

@washad
Copy link

washad commented Jun 26, 2017

(Really nice product, btw - thanks for your effort).

I have an operation in which I set a value via 'post' then wait for the web page to reflect the response. Inside a while loop I place a call to browser.open(url), check, then sleep for 5-seconds. I've profiled this with psutils, measuring memory use per call, each call increases my memory use by about 1Mb until eventually bringing down my application.

Cheers

@Sarrablo
Copy link

Same case here. Persistant call to open method gives a out of memory. I fixed it with gc.collect(), but is not elegant or eficient

@heinrich5991
Copy link

Have you tried setting history=False in the constructor?

@FlyingKawasaki74
Copy link

Tried using gc.collect which didn't help. But setting history to False fixed it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants