Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

SystemInfo.PhysicalRAM

Returns the size of the physical RAM in bytes.

Component Version macOS Windows Linux Server iOS SDK
SystemInfo 1.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SystemInfo.PhysicalRAM" )

Parameters

none

Result

Returns byte count.

Description

Returns the size of the physical RAM in bytes.
FileMaker as 32-bit app on Windows can't report more than 4 GB. The 64-bit app gets the real size.

Examples

Show RAM available:

Set Variable [$a; Round(MBS("SystemInfo.AvailableRAM") / 1024 / 1024 / 1024; 1)]
Set Variable [$b; Round(MBS("SystemInfo.PhysicalRAM") / 1024 / 1024 / 1024; 1)]
Show Custom Dialog [$a & " of " & $b & " GB free."]

See also

Created 18th August 2014, last changed 11st March 2021


SystemInfo.OSVersionString - SystemInfo.ProcessorCount

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat