-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Bug]: "heap too low [10000] -> reboot in 5s" does not reboot in given time #2206
Comments
It was just my first attempt to find a repitative process in the FW. I said that I don't know enough about the FW and that a developer should install it in a suitable place. Yes, I've also noticed that it's awkwardly placed in OSThread.cpp. If this function is called within the 5s, then it comes to a retrigger and delays the reboot. |
@karamo I just tested asserting and it seems to work as well, meaning no boot-loops etc. Once low on heap I would not waste time waiting that somebody releases heap rather than rebooting. Will cost some extra messages sent around. According to my test this happens after ca. 16000 seconds == 4 hours so even an MS-windows survives longer.. |
I can confirm it now.
|
Sorry, correction, the 30s rate at which [Power] thread runs can also be too long. |
see #2210 |
fixed in 2.0.14 beta |
Category
Other
Hardware
T-Beam, T-Lora v2 1.6
Firmware Version
2.0.14.cb8532f2-d
Description
There is a new feature designed to reboot the node when heap gets below 10000 #2165 . Unfortunately this does not work as designed and node did not reboot. Shortening the time it waits before rebooting seems to solve the problem
reboot_01.txt
reboot_02.txt
Relevant log output
No response
The text was updated successfully, but these errors were encountered: