Open DaeMonSxy opened 1 week ago
Strings in ESPAsyncWebServer are not anymore on flash for ESP82666 but in RAM since the introduction of the namespace class. So heap usage is increased.
Here is the warning for ESP8266:
With @vortigont we will not put any efforts in maintaining this lib for ESP8266. We focus on ESP32. Even if we try to keep it backward compatible, there won't be any improvements or fix made. ESP8266 goes EOL in a few years and there is no development anymore. All ESP8266 can be replaced by equivalent ESP32 boards.
People who really want to stick with ESP8266 will have to stick with an older version of the library, or the original one.
Version 4.x of this ESPAsyncWebServer fork will drop support for ESP8266.
ok, got it, I do have a few (above 10 ) relays around the house based on esp8266...so would prefer to keep them working until functioning.
Any addvice to get rid of that issue for now?
Version 4.x of this ESPAsyncWebServer fork will drop support for ESP8266
can't wait for this day to come :)
Any addvice to get rid of that issue for now?
it can't be avoided, happens when concatenating long strings in many places in WS code. The only way to prevent this is to reserve large string buffer in advance, but it will put more pressure to memory anyway.
But we will keep this in mind in future code optimizations, thanks!
It seems after using:
i see following msgs:
in case i would refresh page,
so, something is complatelly chuwing the heap,then reset.
tried to dig in deeper, found: https://github.com/esp8266/Arduino/issues/8872
so, anything we can do within async-webserver?