How about running process.memory() immediately after fs.close() - does that fix it for you?
process.memory()
fs.close()
@Gordon 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.
How about running
process.memory()
immediately afterfs.close()
- does that fix it for you?