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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
App.MemoryUsed
Queries amount of memory used.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| App | 6.5 | Yes | Yes | No | Yes | No |
MBS( "App.MemoryUsed" ) More
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.
See also App.CompactMemory for Windows to reduce memory.
Examples
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.
Links
MBS Xojo tutorial videos