Skip to content

Memory leak in bidi resources #769

Closed
@daniel-sanche

Description

@daniel-sanche

Reported in python-firestore: googleapis/python-firestore#985

It looks like some of the resources in BackgroundConsumer and ResumableBidiRpc are not being cleaned up properly on close, and preventing garbage collection. I ran the attached script, and can confirm I see the same thing

I opened #770 to address the issue, but maybe someone with more familiarity with the classes can take a look as well

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions