[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Maximum number of OS chunks to be kept in memory
Source position: heaph.inc line 60
const MaxKeptOSChunks: DWord = 4; |
MaxKeptOSChunks tells the heap manager how many free chunks of OS-allocated memory it should keep in memory. When freeing memory, it can happen that a memory block obtained from the OS is completely free. If more than MaxKeptOSChunks such blocks are free, then the heap manager will return them to the OS, to reduce memory requirements.
|
Release allocated memory |