MEMORYSIZE

Action

Returns memory statistics, in Megabytes.

 

Syntax

MEMORYSIZE (type)

 

Parameter

Type

Optional number, indicating the type of memory you want statistics on. Possible values:

 

0

Total physical memory (default)

1

Available physical memory

2

Total size of pagefile

3

Available space in pagefile

 

Returns

The amount of memory, in Megabytes.

 

Example

$x = MemorySize()