4D v16.3SET CACHE SIZE |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
SET CACHE SIZE
SET CACHE SIZE
This command only works in 4D 64-bit versions. The SET CACHE SIZE command sets the database cache size dynamically and, optionally, sets the mininum byte size at which to start to free memory. Note: This command only works in local mode (4D Server and 4D); it cannot be used in 4D remote mode. In size, pass the new size for the database cache in bytes. This new size is applied dynamically when the command is executed. In minFreeSize, pass the minimum size of memory to release from the database cache when the engine needs to make space in order to allocate an object to it (value in bytes). The purpose of this option is to reduce the number of times that data is released from the cache in order to obtain better performance. You want to add 100 MB to the current database cache size. You can write: C_REAL($currentCache)
See also
|
PROPERTIES
Product: 4D HISTORY
ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||