I suggest, you are using the ARDUINO EDI for coding, and using the ESP8266WebServer library.
I have done the same, and noticed, that at ARDUINO EDI 1.65,
The web-page will produce much more code / RAMusage,
than using ARDUINO 1.68 or 1.69.
Next, use for static Webpage-Text, the F() function like this
////////////////////
// make html footer
////////////////////
void MakeHTTPFooter(void)
{
G_WebSeite += F("\r\n<div style=\"font-size:x-small\">");
G_WebSeite += F("\r\n\t<BR>Aufrufzähler = ");
G_WebSeite += G_ulReqcount;
G_WebSeite += F("\r\n\t<BR>Uptimezähler = ");
G_WebSeite += CalcUptime(Guptime);
G_WebSeite += F("\r\n\t<BR>Verbindungszähler = ");
G_WebSeite += G_ulReconncount;
G_WebSeite += F("\r\n\t<BR>WiFi-Staerke = ");
G_WebSeite += G_WiFiSignalStrength;
G_WebSeite += F("dbm");
G_WebSeite += F("\r\n\t<BR>Freies RAM = ");
G_WebSeite += (uint32_t)system_get_free_heap_size();
G_WebSeite += F("\r\n</div>\r\n</body>\r\n</html>");
delay(1);
}
To save RAM.
To send the Webpage, I have seen some code where the Large web page is
streamt in short pieces to the Client.
Sorry but I have not stored the link, please search here the Internet,
for Streaming large Webpages.
I hope this will help you.
Mickbaer
from Berlin Germany