There was talk a while back of storing modules in text form in flash, but when loaded they'd still have to go into RAM - so it depends on where @roccomuso is getting his error.
It's a lot of work to work around though. Time would be much better spent figuring out where all the RAM has gone in ESP8266 and fixing that.
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 was talk a while back of storing modules in text form in flash, but when loaded they'd still have to go into RAM - so it depends on where @roccomuso is getting his error.
It's a lot of work to work around though. Time would be much better spent figuring out where all the RAM has gone in ESP8266 and fixing that.