Skip to main content

How can I limit the amount of memory AMPS consumes?

To limit the memory for the AMPS process overall, use ulimit -m in the script that starts AMPS.

To limit the amount of memory that an individual client is allowed to consume, see the configuration options for Transport in the [Configuring Transports/docs/amps-user-guide/transports/configuring-transports) section of the AMPS User Guide. AMPS provides a limit on the amount of memory an individual client can consume before AMPS begins buffering messages to disk, and a limit on the total amount of storage a client can consume. For details, see the AMPS User Guide for the release of AMPS that you're using.