8000 screenlogicpy appears to have a memory leak of asyncio.Futures · Issue #63392 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

screenlogicpy appears to have a memory leak of asyncio.Futures #63392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bdraco opened this issue Jan 4, 2022 · 4 comments · Fixed by #63533
Closed

screenlogicpy appears to have a memory leak of asyncio.Futures #63392

bdraco opened this issue Jan 4, 2022 · 4 comments · Fixed by #63533

Comments

@bdraco
Copy link
Member
bdraco commented Jan 4, 2022

The problem

2022-01-04 18:02:39 CRITICAL (SyncWorker_19) [homeassistant.components.profiler] Memory Growth: [('Future', 12353, 9)]
2022-01-04 18:03:09 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] Memory Growth: [('Future', 12357, 4)]
2022-01-04 18:03:39 CRITICAL (SyncWorker_16) [homeassistant.components.profiler] Memory Growth: [('Future', 12364, 7)]
2022-01-04 18:04:09 CRITICAL (SyncWorker_20) [homeassistant.components.profiler] Memory Growth: [('Future', 12367, 3)]
2022-01-04 18:04:39 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('Future', 12373, 6)]
2022-01-04 18:05:09 CRITICAL (SyncWorker_14) [homeassistant.components.profiler] Memory Growth: [('Future', 12375, 2)]
2022-01-04 18:05:39 CRITICAL (SyncWorker_18) [homeassistant.components.profiler] Memory Growth: [('Future', 12388, 13)]
2022-01-04 18:06:09 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: []
2022-01-04 18:06:39 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('Future', 12392, 4)]
2022-01-04 18:07:09 CRITICAL (SyncWorker_12) [homeassistant.components.profiler] Memory Growth: []
2022-01-04 18:07:39 CRITICAL (SyncWorker_13) [homeassistant.components.profiler] Memory Growth: [('Future', 12404, 12)]

What version of Home Assistant Core has the issue?

dev

What was the last working version of Home Assistant Core?

dev

What type of installation are you running?

Home Assistant Core

Integration causing the issue

screenlogic

Link to integration documentation on our website

https://www.home-assistant.io/integrations/screenlogic/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

I couldn't find code that empties `self._collection` periodically here

https://github.com/dieselrabbit/screenlogicpy/blob/master/screenlogicpy/requests/protocol.py#L90

Additional information

No response

@probot-home-assistant
Copy link

screenlogic documentation
screenlogic source
(message by IssueLinks)

@probot-home-assistant
Copy link

Hey there @dieselrabbit, mind taking a look at this issue as it has been labeled with an integration (screenlogic) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@dieselrabbit
Copy link
Contributor

Will take a look. Thanks for the callout.

@bdraco
Copy link
Member Author
bdraco commented Jan 5, 2022

🚀 👍

@dieselrabbit dieselrabbit mentioned this issue Jan 6, 2022
22 tasks
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0