Sign in Join
FPDoc Onlineexperiment

tmeminfo record

In unit go32

Memory information record.

Declaration

pascal
tmeminfo = record

Description

tmeminfo Holds information about the memory allocation, etc.

NOTE: The value of a field is -1 (0ffffffffh) if the value is unknown, it's only guaranteed, that available_memory contains a valid value. The size of the pages can be determined by the get_page_size() function.

Fields

available_memoryLargest available free block in bytes.
available_pagesMaximum unlocked page allocation in pages.
available_lockable_pagesMaximum locked page allocation in pages.
linear_spaceLinear address space size in pages.
unlocked_pagesTotal number of unlocked pages.
available_physical_pagesTotal number of free pages.
total_physical_pagesTotal number of physical pages.
free_linear_spaceFree linear address space in pages.
max_pages_in_paging_fileSize of paging file/partition in pages.
reserved0Unused.
reserved1Unused.
reserved2Unused.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.