This example procedure allocates the maximum amount of memory that can be consumed by the specified zone. This value lasts only until the next reboot.
To set a persistent cap, instead use the zonecfg command.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
$ rcapadm -z my-zone -m 512M