totalram

Syntax:

[int] sysinfo.totalram

Description:

This is a read-only property that returns an integer value indicating the total amount of RAM of a device, measured in bytes.

Example code:

// get total RAM size in bytes
var totalRamSize = sysinfo.totalram;
alert("Total RAM size is " + totalRamSize/1024 + "kB");