Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
FileMaker Magazin
This function is free to use.
Created 18th August 2014, last changed 11st March 2021