Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By JoachimPetersen
#65001 The problem is now that when I try to load the large website(around 500kb) to the esp with server.send or server.sendContent; it crashes and restarts when I try to connect to it with my webbrowser, so it must get a overflow somewhere? how would I go about and handle this long string in RAM and serve it as an HTML website on the ESP8266?
onst static char website_servlet_html[] PROGMEM = "500kb long string";
to avoid java regex error in arduino IDE I used like;
const static char website_servlet_html[] PROGMEM = "512 long string"
"512 long string"
"512 long string"
"And so on";
Now how do I serve this large string and avoid overflow crashes due to ram?