A collection of topics that might be interesting for optimising memory on ESP8266
- Info on what takes up what type of memory: https://www.esp8266.com/viewtopic.php?p=69937
- A way to display your stack size: https://www.esp8266.com/viewtopic.php?f=6&t=18414
- Talking about stack: esp8266/Arduino#5148