4D v16.3

GET MEMORY STATISTICS

Home

 
4D v16.3
GET MEMORY STATISTICS

GET MEMORY STATISTICS 


 

GET MEMORY STATISTICS ( infoType ; arrNames ; arrValues ; arrCount ) 
Parameter Type   Description
infoType  Longint in Selector of information to get
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. 

In the infoType parameter, pass a value indicating the type of information that you want to obtain:

  • 1 = General memory information. This information is also available via the Runtime Explorer: size of physical, virtual, free and used memory, stack memory and free stack memory, etc.
  • 2  = Summary of database cache occupancy statistics (4D 32-bit only).

Compatibility Note: Value 2 is deprecated for 4D 64-bit versions. For these versions, we recommend using the Cache info command to get cache statistics. 

After the command has been executed, the statistics are provided in the arrNames, arrValues and arrCount arrays. 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

 
HISTORY 

New
Created: 4D v11 SQL Release 5
Renamed: 4D v13
Modified: 4D v14
Modified: 4D v16

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)