The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



GetMemoryStatus


Unit: SDL_filesys
Class: none
Declaration: function GetMemoryStatus (var TotalMem, AvailableMem: Int64): boolean;

The function GetMemoryStatus retrieves the size of the total physical memory as well as the currently available memory (in Bytes). The returned parameters TotalMem and AvailableMem are only valid if the function returns a value of TRUE.

Hint: The function GetMemoryStatus is only available for the compilers Rad Studio 10.2 Tokyo, or higher.



Last Update: 2023-Feb-06