-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
High Memory Usage/Memory Leak #468
Comments
This is normal behaviour. Integration uses lot of memory for making Python viable for generating digital images otherwise it would be too slow. |
I get that it might need a good amount of RAM but it keeps consuming more until it’s using about 3GB and then crashes HA |
Are you using the latest Beta? |
Also can you share the full HA log until the crash? |
I have released a new version, may or may not fix your issue. https://github.com/Tasshack/dreame-vacuum/releases/tag/v2.0.0b13 |
Sorry for the confusion on this. I had the integration fully uninstalled and the memory leak happened again while I was out of town this week so looks like it's not the issue. |
Describe the bug
I am running HA in Docker and when I have the Dreame integration enabled it causes high memory usage which eventually results in a memory leak.
To Reproduce
I removed all of my 3rd party/HACS integrations for 24 hrs and the container memory hovered around 500 MB. I started re-enabling some integrations with no issues but as soon as I enabled the Dreame integration it jumped to over 1000 MB.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Red Arrow is when I enabled the Dreame integration
This is what the memory leaks look like
Additional Information (please complete the following information)
Entity camera.rosey_map (<class 'custom_components.dreame_vacuum.camera.DreameVacuumCameraEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature: 0>, please create a bug report at https://github.com/Tasshack/dreame-vacuum/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
The text was updated successfully, but these errors were encountered: