diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-034D852F-27C5-47D2-9617-B8C92748A49C.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-034D852F-27C5-47D2-9617-B8C92748A49C.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,17 @@ + + +freeram

freeram

+

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");
+
\ No newline at end of file