Please can you try installing firmware 2v14? I believe 2v13 did have a memory leak (of the device's address when doing bluetooth scanning), but 2v14 should have fixed that as well as having added a bunch of other stuff.
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.
Please can you try installing firmware 2v14? I believe 2v13 did have a memory leak (of the device's address when doing bluetooth scanning), but 2v14 should have fixed that as well as having added a bunch of other stuff.