Ouch. I wonder what's using the rest of the RAM then? I wonder if the find_big_ram script works on xtensa...
I just committed something that should help - Espruino now doesn't store { and } in functions any more. It breaks formatting in dump() slightly but it should make things a bit more efficient.
@roccomuso where do you get the out of memory error? during upload, or at some point after?
MQTT works on NodeMCU and Arduino because AFAIK it's compiled as native code, not written in JavaScript.
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.
Ouch. I wonder what's using the rest of the RAM then? I wonder if the
find_big_ram
script works on xtensa...I just committed something that should help - Espruino now doesn't store
{
and}
in functions any more. It breaks formatting indump()
slightly but it should make things a bit more efficient.@roccomuso where do you get the out of memory error? during upload, or at some point after?
MQTT works on NodeMCU and Arduino because AFAIK it's compiled as native code, not written in JavaScript.