Syntax:
[int] sysinfo.freeram
Description:
This is a read-only property that returns an integer value indicating the amount of free RAM of a device, measured in bytes.
Example code:
// get free RAM size in bytes var freeRamSize = sysinfo.freeram; var freeRamSize /= 1024; // convert to kB if (freeRamSize < 100) alert("Low memory");