Memavail returns the size, in bytes, of the free heap memory.
Remark: The heap grows dynamically if more memory is needed than is available. The heap size is not
equal to the size of the memory available to the operating system, it is internal to the programs
created by Free Pascal.