MemoryStatus()

Syntax

Result.q = MemoryStatus(Type)
Description
Returns the specified memory type information.

Parameters

Type The type of memory to get. It can be one of the following value:
  #PB_System_TotalPhysical: the total amount of installed memory, in bytes
  #PB_System_FreePhysical : the available memory, in bytes
  #PB_System_TotalVirtual : the total virtual memory size, in bytes (Windows only)
  #PB_System_FreeVirtual  : the available virtual memory size, in bytes (Windows only)
  #PB_System_TotalSwap    : the total swap memory size, in bytes (Windows and Linux only)
  #PB_System_FreeSwap     : the available swap memory size, in bytes (Windows and Linux only)
  #PB_System_PageSize     : the memory page size, in bytes (usually 4KB).

Return value

Returns the specified memory type information.

Supported OS

All

<- ElapsedMilliseconds() - System Index - OSVersion() ->