Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Queries amount of memory used.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
App 6.5 Yes Yes Yes No No

MBS( "App.MemoryUsed" )




Returns number or error.


Queries amount of memory used.
This is to query the memory used in bytes for the current application.
On Server this would query the scripting process.
The value returned is not exactly the same as in Task Manager or Activity Monitor as this includes some shared memory for your process, which those don't count per app.


Query memory used

Round(MBS("App.MemoryUsed") / 1024 / 1024; 0) & " MB"

See also

App.GetProcessPath   -   App.OpenFile

Feedback: Report problem or ask question.

MBS Xojo Plugins