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!