Are you running the latest 1v66? I found a memory leak in the serial port receive handler (which is fixed in that). It's possible that a little noise gets on pin A10, is interpreted as a character, and then causes the leak?
If you are still hitting problems with 1v66, are there any error messages shown? It's possible that some error when accessing a file causes a leak.
Otherwise, if you can find something that increases the rate of leaking memory, it might be a hint as to what the problem is.
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.
Are you running the latest 1v66? I found a memory leak in the serial port receive handler (which is fixed in that). It's possible that a little noise gets on pin A10, is interpreted as a character, and then causes the leak?
If you are still hitting problems with 1v66, are there any error messages shown? It's possible that some error when accessing a file causes a leak.
Otherwise, if you can find something that increases the rate of leaking memory, it might be a hint as to what the problem is.