Skip to main content
Version: 20 R7 BETA

MEMORY STATISTICS

MEMORY STATISTICS ( infoType ; arrNames ; arrValues ; arrCount )

ParameterTypeDescription
infoTypeIntegerType of requested info (always 1)
arrNamesText arrayInformation titles
arrValuesReal arrayInformation values
arrCountReal arrayNumber of objects concerned (if available)

Description

The MEMORY STATISTICS command recovers information related to the use of the data cache by 4D. This information can be used to analyze the functioning of the application.

The infoType parameter specifies the type of requested information. In current 4D versions, there is only one supported type (infoType=1)

After the command has been executed, the statistics are provided in the arrNames, arrValues and arrCount arrays. This information is also available via the Runtime Explorer: size of physical, virtual, free and used memory, stack memory and free stack memory, etc. For more information about advanced interpretation of this data, please contact your local Technical Service department.

See also

Cache info

Properties

Command number1118
Thread safe