Maxmem

The maxmem variable defines the memory (in bytes) that can be allocated in the main memory of the Adonix server process.

Syntax

maxmem

Example

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

See also

freemem, maxheap, freeheap, Memory requirements on the server.