Submitting attached jobs causes GearmanClientImpl to leak memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman Java |
Fix Released
|
Medium
|
Eric Lambert |
Bug Description
Submitting attached jobs causes GearmanClientImpl to leak memory.
The root cause of this problem is that for an attached (as in non-background) job, the Gearman Server will send back events to the client (such as JOB_CREATED, WORK_COMPLETE, etc). Currently, when the client receives such an event, it handles it and then places the event in the updatedEvents collection so that they can be returned to the user when the use calls selectUpdatedEv
For the time being this can work-around by calling selectUpdatedEv
Related branches
- Gearman-developers: Pending requested
- Diff: None lines
Changed in gearman-java: | |
assignee: | nobody → Eric Lambert (elambert) |
Changed in gearman-java: | |
status: | New → Fix Committed |
Changed in gearman-java: | |
status: | Fix Committed → Fix Released |
mark as medium because an easy workaround exists