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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    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

This function is free to use.

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


SystemInfo.OSVersionString - SystemInfo.ProcessorCount

💬 Ask a question or report a problem