-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Memory allocation Failure after looping through ota check too many times (IDFGH-7978) #9489
Comments
Hello @tobyloki |
Thanks. That seemed to fix the problem. I do have one question though. Even if |
No. When |
@tobyloki Reopening the issue. This shall be (auto) closed when fix gets merged. |
I am trying to run a variant of the pre_encrypted_ota sample from https://github.com/espressif/esp-idf/tree/release/v5.0/examples/system/ota/pre_encrypted_ota. My code basically just runs the main code infinitely so that it always checks for new ota updates. If any step fails, it restarts the loop, attempts to clean up some memory, waits 2s, and restarts. The code is shown below. However, after several loops, eventually the memory starts to run out and it gives me this error. How can I fix this?
Error log:
Code:
More logs:
The text was updated successfully, but these errors were encountered: