Memory Leak found #6

Closed
peick opened this Issue Nov 30, 2010 · 2 comments

Projects

None yet

2 participants

peick commented Nov 30, 2010

If you have a gearman client like the one below and you want to submit many jobs, then you run into a memory leak.

client = gearman.GearmanClient(server)
for job in many_many_jobs:
req = client.submit_job(task, data) ...

The problem is in the python module client_handler.py, where every job is stored in a dictionary but never deleted.

mtai commented Dec 9, 2010

Working on a patch that should help alleviate (but not completely) solve your problem.

mtai commented Jan 11, 2011

Closed with python-gearman 2.0.2

Thanks for the bug report!

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