Freeheap

The 'Freeheap' function returns the number of bytes not used in the heap memory of the Adonix server process.

Syntax

freeheap

Example

# check if at least 100K of memory are availableIf freeheap>100000# We have enough memoryElse# Let's enhance maxmem to get more memorymaxheap+=100000Endif

See also

maxmem, freemem, maxheap, Server Memory requirements