Memory limit
Setting the limit
It is possible to define a soft limit on the amount of memory used by the Replication Server. To do this, the Replication Server process must be executed with a GOMEMLIMIT environment variable defined.
From the Go documentation:
GOMEMLIMIT is a numeric value in bytes with an optional unit suffix. The supported suffixes include B, KiB, MiB, GiB, and TiB.
For example, to set the limit to 4GB, you should export the following:
GOMEMLIMIT=4GiBMemory monitoring system
Replication Server uses a memory monitoring system that comes with a following thresholds:
High pressure @ 85% of memory used
When this threshold is reached any new client connections will be automatically rejected.
Critical pressure @ 95% of memory used
When this threshold is reached the Replication Server will stop a room that has the highest memory usage, in order to prevent the process being completely shutdown due to running Out Of Memory (OOM).
Last updated
Was this helpful?

