Class: MemInfo

MemInfo

Provides memory usage information.


Members


<readonly> free :number

The free memory in the system in bytes. If this number continues to fall over time, there may be a memory leak in the application loaded in WAT.

Periodic checking of this value may help to indicate that the current application has a memory leak. For a robust application, an effort should be made to make sure that there is no memory leak. However, if one does exist, when this value reaches a certain limit, the application could attempt to take countermeasures (such as rebooting).

Type:
  • number
Since:
  • 1.4

<readonly> total :number

The total memory in the system in bytes.

Type:
  • number
Since:
  • 1.4