Set RAM for a container on openvz

vzctl set 101 --vmguarpages $((2048*256)) --save

Sets 2 GB on container

If you’re using Proxmox, set it from the GUI, as directly setting it via shell seems to be overridden by the Proxmox configuration.