-
Notifications
You must be signed in to change notification settings - Fork 0
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 leak when connecting / disconnecting to WiFi #224
Comments
The phenomenon stayed after moving from using ESP-IDF as an Arduino dependency to using Arduino as an ESP-IDF dependency. |
Looks like this ESP-IDF issue is causing the problem: espressif/esp-idf#8446 |
The problem persists after upgrading from ESP-IDF 4.4.8 to 5.1.4 (and Arduino 2 to 3.0.5). |
Nope. Unfortunately, the problem persists after upgrading to Arduino 3.1.0-rc-1 / ESP-IDF 5.3.1, too. :/ |
The issue is actually caused by espressif/arduino-esp32#10664. For us it is now fixed via: |
Looks like we are loosing a few dozen bytes of RAM every time we do a cycle of connecting and disconnecting to WiFi.
This became a problem since https://github.com/kivancsikert/ugly-duckling/releases/tag/0.31.0 as we are now disconnecting from WiFi when in power-save mode. When in this mode, some devices gradually loose memory:
However, it doesn't always happen. Some MK7 instances (but not all) do not experience this phenomenon somehow.
The text was updated successfully, but these errors were encountered: