This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
GET MEMORY STATISTICS

GET MEMORY STATISTICS 


 

GET MEMORY STATISTICS ( infoType ; arrNames ; arrValues ; arrCount ) 
Parameter Type   Description
infoType  Longint in Type of requested info (always 1)
arrNames  Text array in Information titles
arrValues  Real array in Information values
arrCount  Real array in 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.



See also 

Cache info

 
PROPERTIES 

Product: 4D
Theme: Cache Management
Number: 1118

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v11 SQL Release 5
Renamed: 4D v13 (GET CACHE STATISTICS)
Modified: 4D v14
Modified: 4D v16

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)