• Hi @Pedro,

    1MB for save code won't work, as far as I have seen in the code. The main reason is that saved code must be first allocated somewhere in RAM, and we do not have so much RAM :)

    I fully agree, it's a waste of space.

    >save();
    =undefined
    Erasing Flash...................................­........................................­........................................­........................................­........................................­........................................­......................
    Writing.....
    Compressed 25600 bytes to 2224
    Checking...
    

    At the end it will be a solution that calculates JsVars * 16 byte and add the rest as FlashArea.

    Regarding RESIZABLE_JSVARS .....The idea is to leave as much heap free as possible when not needed for JsVars

    I definitely will try it, because this is too temptingly :)

About

Avatar for MaBe @MaBe started