esp8266 のSRAM

データシートによると

RAM size is around 50 KB, that is to say, when ESP8266EX is working under the station mode and is connected to the router, programmable space accessible to user in heap and data section is around 50 KB.)

とのこと。メモリマップを見ると

で、ユーザー領域のRAMは 14000h = 0x14000 = 81920 = 80KB 。heap と data section で 50 KB ぐらい。

void setup() {
  delay(1000);
  Serial.begin(9600);
  Serial.println("\n\n");
  Serial.printf("%d\n", ESP.getFreeHeap());
}

void loop() {
}

のプログラムが

$ xtensa-lx106-elf-size .pioenvs/wroom/firmware.elf
   text    data     bss     dec     hex filename
 222620    2468   29640  254728   3e308 .pioenvs/wroom/firmware.elf

bss section が 29640、data section が 2468 、ESP.getFreeHeap() の結果の空き heap が 48416 なので、合計約80KB弱。