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
Wifi reconnect uses a lot of Heap #2544
Comments
What LwIP option did you use when compiling with 2.4.1? The most obvious answer is not to use 2.4.1 as it is known to have memory leaks. |
Using v2 Lower Memory. What do you suggest? Differences about them? |
See Esp/Arduino website about differences and trouble. I suggest to stay at 2.4.0. |
Thanks. What LwIP should be used in 2.4.0? |
You might want to try the latest development version which contains a fix for this memory leak as documented here esp8266/Arduino#4497 So re-compile with V2 lower memory and 2.4.1 and let me know the results over time. |
Hi, If your issue was solved, please, close it. Thanks 👍 |
I have a Sonoff which is quite far from the AP and frequently drops the connection and try to reconnect (wificonfig is set to 5). What I noticed is after a lot of retries the remaining heap starts to go down, until the device becomes unreachable (probably crashed).
Any thoughts about that?
Using Tasmota v5.12 with SDK 2.4.1.
The text was updated successfully, but these errors were encountered: