Hmm... You could try writing trace() which should dump any memory immediately accessible from root.
It's a really odd one because it looks like console.log is causing the error, but it really shouldn't allocate much memory.
The only thing I can think of is that the GPS module doesn't limit the amount of characters it stores in a line, so if you got a few thousand characters without a line break, that could cause 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.
Hmm... You could try writing
trace()
which should dump any memory immediately accessible from root.It's a really odd one because it looks like
console.log
is causing the error, but it really shouldn't allocate much memory.The only thing I can think of is that the GPS module doesn't limit the amount of characters it stores in a line, so if you got a few thousand characters without a line break, that could cause a problem.