Frozen modules - parser could not allocate enough memory



  • Little advice needed.
    Could in this situation frozen modules help?
    I think that this is exact situation for it but maybe not?

    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/flash/lib/greenhouse.py", line 715
    MemoryError: parser could not allocate enough memory
    


  • @robert-hh
    Ok, thank you for the confirmation
    I must now test this feature :)



  • @livius definitely yes, if the code size is the culprit. Because then the cide resists in flash and the compilation is done on the PC. As an interim step you could cross-conpile the code on the PC and try to import the .mpy file. Then the xode would still be in RAM, but the compilation is externally.
    All of that will notnhelp if your code uses too much data space.


Log in to reply
 

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.