Description
When I continuously run the tests for my Firebase library, I see after a while / bunch of https requests:
Panic /home/bachi/.arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src/WiFiClientSecure.cpp:404 ax_port_realloc
This happens with the 2.0rc2 core release, but not with the 1.6.x release.
The project is here: https://bitbucket.org/bachi76/esp6288-framework/
(Note: the folders in /framework/ where symlinked to the libraries)
The debug output when running with 2.0rc2
Debug output when the same code is run with 1.6.x
It starts with something like this:
Firebase - Memory left before Wifi client: 33984
Firebase - Memory left before connect: 34056
Firebase - Connected
Firebase - Memory before sending request: 11096
And the last try before the crash looks like:
Firebase - Memory left before Wifi client: 31336
Firebase - Memory left before connect: 31288Panic /home/bachi/.arduino15/packages/esp8266/hardware/esp8266/2.0.0-rc2/libraries/ESP8266WiFi/src/WiFiClientSecure.cpp:404 ax_port_realloc
Not 100% sure where the mem leak comes from (c++ apprentice here), or if it's just due to the new core requiring more memory. The https conn. takes around 22kb - is there a way to reduce this?