As far as I can tell, the out of memory error comes from JsVars: https://github.com/espruino/Espruino/blob/4f9f8a0bfea3e9fa8c9bffca71eab00f18676d48/src/jsvar.c#L371 @Gordon, is there a way to have this print a stack backtrace for where the out of memory failure occurs?
@tve started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As far as I can tell, the out of memory error comes from JsVars:
https://github.com/espruino/Espruino/blob/4f9f8a0bfea3e9fa8c9bffca71eab00f18676d48/src/jsvar.c#L371
@Gordon, is there a way to have this print a stack backtrace for where the out of memory failure occurs?