I find the setting getting cleared unlikely. The code for those settings is auto generated so there is no reason why that should cause you issues.
And yes - modules are loaded as strings and then executed, so chances are there wasn't enough memory for the string. How big is your module file?
@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.
I find the setting getting cleared unlikely. The code for those settings is auto generated so there is no reason why that should cause you issues.
And yes - modules are loaded as strings and then executed, so chances are there wasn't enough memory for the string. How big is your module file?