getmemory returns free and total system memory

## Syntax

    [free, total] = getmemory()

## Description

`getmemory()` returns free system memory (kilo-bytes).

`[free, total] = getmemory()` returns free and total system memory (kilo-bytes).

Do not rely too much on this function. Due to various level of caching, free memory detection is a tricky thing under most modern operating systems.

## Examples

    [a,b] = getmemory()

## See also

- who
- recursionlimit
- host