Memory Limits

In order to prevent memory error, in phase of execution of the script, we advise you to consider the following limits:

allocated memory for each variable;

number of the variables.

 

The memory available on modules includes:

 

2 MB of Non Volatile Memory for the user scripts and data files (12.xx.xxx, 13.xx.xxx and 18.11.004);

2 MB RAM available for Python engine usage (12.xx.xxx, 13.xx.xxx and 18.11.004).

 

Some limits of the available NVM that affect file saving procedures and need to be considered are listed below:

 

max number of files open contemporary

16

max length of file name

16 characters

 

It is highly recommended not to use the module as a data logger since all flash memories have limited number of writing and deleting cycles.

 

Other useful information for NVM usage in application development are:

writing full size NVM cause a decrees of writing speed; check free space returned by AT#LSCRIPT and keep about 100KB free space;

AT#LSCRIPT command might not always show the exact number of bytes that can be used for NVM due to dynamic memory reorganization process.