Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    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" )   More




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.

See also App.CompactMemory for Windows to reduce memory.


Query memory used

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

See also

Blog Entries

Created 15th November 2016, last changed 23th November 2018

App.GetProcessPath   -   App.OpenFile

Feedback: Report problem or ask question.

MBS Xojo Plugins