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.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

App.MemoryUsed

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" )

Parameters

none

Result

Returns number or error.

Description

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.

Examples

Query memory used

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


App.GetProcessPath   -   App.OpenFile

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins