core: Memory leak
The problem
In the last few days I have noticed a terrible memory leak. RAM usage in increasing at the rate of almost 1 mb per second. If I don’t restart every few hours, HA gets up into the GBs in memory usage and crashes.
I am not sure exactly when this started, but I keep HA pretty updated. I am currently on core-2021.3.4. Running in Docker on a Synology NAS.
I don’t see anything weird in the logs.
What is version of Home Assistant Core has the issue?
core-2021.3.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Unknown
Link to integration documentation on our website
No response
Example YAML snippet
# Put your YAML below this line
Anything in the logs that might be useful for us?
# Put your logs below this line
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 3
- Comments: 21 (7 by maintainers)
This is fixed on
dev
(#47798). Can’t tell if it’s the root cause here, but can be related as it creates an infinite connect loop in an unpleasant way (see #47711).Please try 2021.5 beta
https://rc.home-assistant.io/blog/2021/04/28/release-20215/#memory-leaks
I don’t think that the problem is related to Apple TV. I’m not using it and I have also problems with a memory leak. Downgrade to 2021.2.3 resolved that problem for now. HA is running in docker.