Closed odelot closed 8 years ago
fixed memory leaks ;-) it seems that it was all in my library \o/
8h reconnecting without freeze (~301 times and counting)
freezes after 413 reconnection.... :-(
I will look for more memory leaks in my code. any help is appreciated
Panic C:\Users\fabio-note\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\libraries\ESP8266WiFi\src\WiFiClientSecure.cpp:495 ax_port_malloc
ctx: cont sp: 3fff17d0 end: 3fff1c20 offset: 01b0
It seems that my code does not have any more memory leaks
After some digging, it seems that the problem is with esp8266 arduino framework, but i am not that sure.
I've posted to the community to see if it is a known behavior http://www.esp8266.com/viewtopic.php?f=32&t=9300
see the README.md to fix memory leak on Arduino Core for ESP8266
@odelot Hi Odelot, Which README.md shall we see? Could you please include a link? Many thanks!
@pfabri With Arduino/ESP sdk version 2.3.0 you don't need to fix this memory leak anymore
probably a memory leak.
I hope to be in my library. The other option is inside the connection/desconnection procedure from paho mqtt and arduino websockets (out of my control)