Closed kris-sum closed 3 years ago
Fixed in version 1.5.13
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug I'm sending thousands of messages per minute into IoT Core using
IPC.new_publish_to_iot_core()
, and there seems to be a tiny memory leak in the IPC client, which stacks up over time. Over the course of a few days, my script consumes hundreds of megabytes.To Reproduce
Expected behavior Python script should run without growing memory resource usage.
Actual behavior Memory usage increases as quantity of messages increases.
Environment
Additional context The amount of memory leaked does not appear to be proportional to the request payload size. My attempts to use tracemalloc to further diagnose this leak haven't turned up anything I can immediately see wrong (but i'm not an expert in python)