Memory leak on get_metadata(formatted=True)
Bug #1634006 reported by
Kota Tsuyuzaki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyECLib |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
pyeclib leaks the memory (in particular the memory for the item in the returning dict) when we call ECDriver.
Note that affected calling format is *with formatted=True* so ECDriver.
The snippet is attached file.
To post a comment you must log in.
Fix merged at https:/ /review. openstack. org/#/c/ 405710/
However, I found the test still failed in my local environment and it's real.
With recent IRC discussion with Tim and Clay [1] and the place we didn't free the alloc-ed memory found.
The fix Clay suggested is [2] so keeping this open until we merged the fix.
1: http:// eavesdrop. openstack. org/irclogs/ %23openstack- swift/% 23openstack- swift.2016- 12-02.log. html#t2016- 12-02T01: 30:11 /gist.github. com/clayg/ f3055f975d2288e 164cba57b824cc5 79
2: https:/