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

phantomjs memory leak #439

volvofixthis opened this Issue May 6, 2016 · 2 comments


None yet
2 participants

volvofixthis commented May 6, 2016

It is pretty obvious that every web browser will have memory leak in long run. I found that my phantomjs in current project grows on 300mb per day. I think we need way to control and respawn it when for example phantomjs is more than 600mb.


This comment has been minimized.


volvofixthis commented May 13, 2016

So i fixed this with docker memory limitation:
docker run --name phantomjs --restart always -m 128MB -d binux/pyspider:latest phantomjs


This comment has been minimized.


binux commented May 19, 2016

But sometimes phantomjs will some how be blocked instead of killed when memory usage near but not reach the limit.

@binux binux closed this May 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment