A MAJOR PROBLEM - Each page reload takes the free heap down to zero
Each page reload takes the free heap down to zero When I run the demo code, each reload causes the freeheap value to decrease by 1-2 kB. When the value gets close to zero (15x reloads approximately), it causes a loss of function and then eventually a restart of the ESP8266 with an OOM error. Everything can be seen in the picture. How to solve this problem?
I could confirm this.
Due to personal work commitments, I am unable to maintain this project in the short term. If anyone from the community could help fix this issue and submit a PR, it would be greatly appreciated.
Everyone: I am maintaining this at https://github.com/mathieucarbou/MycilaWebSerial, kept the UI but rewrote the C++ code entirely for performance reasons. See the 2 examples. The code has diverged a lot and will require some adjustments in your project.