There is a memory leak in fs.readdir memory usage increases by 9 for each call
var fs = require("fs"); for(var i = 0; i < 10; i++){ fs.readdir(); console.log(process.memory().usage); }
@JumJum 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.
There is a memory leak in fs.readdir
memory usage increases by 9 for each call