sys_memory

Virtual memory currently allocated by the engine for nexus and static objects, in KB.

Range:

0 .. unlimited

Type:

var, read-only

Remarks:

Example (lite-C):

if (sys_memory > 300000)
{
  printf("Game needs more than 300 MB - remove some stuff");
}

See also:

-nx, nexus, statistics

► latest version online