Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

memory leak python 2.7.6 #134

vladkst opened this Issue Dec 16, 2013 · 1 comment


None yet
1 participant

vladkst commented Dec 16, 2013

tested with version from pip and latest from trunk:

url_list = [ 'http://www.google.com/', 'http://www.microsoft.com./' ]
while 1:
for url in url_list:
ghost = Ghost(wait_timeout=666)
page = ghost.open(url)
html = ghost.content
print traceback.print_exc(file=sys.stdout)
time.sleep( 5 )

vladkst commented Dec 27, 2013

taking the line ghost = Ghost(wait_timeout=666) out of the loop solves the problem.

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