Freemem
The 'Freemem' function returns the number of bytes not used in the main memory of the Adonix server process.
Syntax
freemem
Example
# check if at least 100K of memory are available
If freemem>100000
# We have enough memory
Else
# Let's enhance maxmem to get more memory
maxmem+=100000
Endif
See also
maxmem, maxheap, freeheap, Server Memory requirements