Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By Arduolli
#75007 Hi all;
I wanted to make you aware of a potential memory leak issue in Version 2.4.1 of the ESP8266 Arduino Core.

For details of the code where the problem occured see my post here:
https://www.esp8266.com/viewtopic.php?f=32&t=17379&p=75005#p75005

Bottomline:
The code from aboves post creates a systematically decreasing heap size when using Version 2.4.1.
When I use V2.4.0rc2, this does not happen; heap size stays constant.

*Update*: Same problem seems to happen on Version 2.4.0.
Only Version 2.4.0rc2 seems to work for me.

If somebody finds the time to address this in a future release, that would be great!
(Or point me to a problem in my code, which could have triggered the issue)

All the best and happy easter!
User avatar
By Arduolli
#75023 Yes! This looks like the same issue - thanks for sharing the link to the github issue, schufti.

Glad its not only me and even happier that it's already identified as a bug and will hopefully soon be addressed - in Version 2.4.2... 42... the answer to everything ;-)

Update:
Rereading the github issue, I see that the issue is already closed...
And the fix linked to it https://github.com/esp8266/Arduino/commit/95b1348a71e6cb1a5e125e0ed479809c872d196e
works great in V2.4.1!
Thank you!!