-
Notifications
You must be signed in to change notification settings - Fork 21
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
Out of memory disconnected. #60
Comments
After weeks of testing, tweaking and testing, we believe the primary leak is in the schedule library. Another leak may occur after unintended disconnects from the MQTT broker. Looking at another scheduling package. |
What is the smallest program that can provoke the problem? |
Have you run the system using pdb? This is an example analysis:
|
@moritz89 to be honest it has been quite some time that I tested it. What would be really best, in my humble opinion, is a re-write of the smart module part. |
We are currently facing some kind of memory leaking running
smart_module.py
. And I believe it should be best open an issue and let others send their suggestions. Any feedback should be great!Here is a small log from the last run:
After the disconnected, it seems to connect again but there is no answer to queries.
Here you can see how the Free Memory is dropping constantly.
And here you can see how the Used Memory is quite stable.
It could be Cached Memory, but the growing doesn't match with the drop in Free.
The text was updated successfully, but these errors were encountered: