In that case, it looks like you've got the RAM value set back at 48, with the variables set at 2200?
What happens is you've got 48k, with 2200*20=44k of RAM used for variables. There's about 1k of overhead, which only leaves 3k for stack - which gets used up pretty quick.
edit: Just to say that if this isn't the case, it's probably why we have a problem ;)
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.
In that case, it looks like you've got the RAM value set back at 48, with the variables set at 2200?
What happens is you've got 48k, with 2200*20=44k of RAM used for variables. There's about 1k of overhead, which only leaves 3k for stack - which gets used up pretty quick.
edit: Just to say that if this isn't the case, it's probably why we have a problem ;)