Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Memory Leak found #6

Closed
peick opened this Issue · 2 comments

2 participants

Michael Peick mtai
Michael Peick

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

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

mtai

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
Something went wrong with that request. Please try again.