GetMemory

Demonstrates how to get an approximation of the amount of physical memory (in bytes) available on the current system.

Remarks

This example illustrates how to get the system memory size.

Code

 local double memory

 memory = GetMemory()

 print F$String(memory)

Output

Sample output:

 267833344

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.