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

Open
vladkst opened this Issue Dec 16, 2013 · 1 comment

Comments

Projects
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:
try:
logging.disable(logging.ERROR)
ghost = Ghost(wait_timeout=666)
page = ghost.open(url)
html = ghost.content
except:
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