RealityServer Configuration

Memory Directives

The following directives control memory usage.

memory_high

Description High memory usage watermark
Syntax memory_high number
Context global
Default none

High watermark for data memory usage. If memory grows to this many megabytes, start flushing unneeded data from caches, or swap assembly contents to disk if assemblies exist and swap_root is defined. If set to 0, flushing and swapping are disabled; this may cause RealityServer to abort if the operating system runs out of memory and operating system swap space. A good value for memory_high is the size of installed RAM minus a few hundred megabytes.

memory_low

Description Priority of logging for this host
Syntax memory_low number
Context global
Default none

Once the limit set by memory_high is reached, flushing or swapping begins and continues until less than memory_low megabytes are in use. This avoids frequent flushing and swapping near the memory limit. If set to 0, 3/4 of the memory_high value is used.

memory_high_import

Description High memory watermark when importing files
Syntax memory_high_import number
Context global
Default none

High watermark for aborting the import of data. If memory exceeds this many megabytes, the import will be reverted by aborting the importing transaction. Importers are assumed to check the state of that importing transaction to see whether they can continue importing or should back out.

swap_root

Description When to place swap files
Syntax swap_root directory
Context global
Default swap

A directory where all swap files for all applications are stored.