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 AMPS Configuration 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 Configuration Guide for the release of AMPS that you're using.