Fotonic wrote:If I parse a ~4k characters json string ESP8266 keeps rebooting with strange stack overflow errors fired over the serial port.
Sounds to me like your problem is not insufficient RAM, but you are trying to allocate a huge array on the stack. Using heap instead should fix that problem, i.e. not
char buf[4096];
char *buf = new char[4096];
// do stuff with buf...
delete[] buf;