This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
GET MEMORY STATISTICS
|
GET MEMORY STATISTICS ( infoType ; arrNames ; arrValues ; arrCount ) | ||||||||
Parameter | Type | Description | ||||||
infoType | Longint |
![]() |
Type of requested info (always 1) | |||||
arrNames | Text array |
![]() |
Information titles | |||||
arrValues | Real array |
![]() |
Information values | |||||
arrCount | Real array |
![]() |
Number of objects concerned (if available) | |||||
The GET 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.
Product: 4D
Theme: Cache Management
Number:
1118
Created: 4D v11 SQL Release 5
Renamed: 4D v13 (GET CACHE STATISTICS)
Modified: 4D v14
Modified: 4D v16
4D Language Reference ( 4D v20 R7)