How to Increase RAM Size of the container in OpenVZ
How to Increase RAM Size of the container in OpenVZ
Date: 21-01-2021
Step 1: Check the list of all running containers by using the below command.#vzlist

Step 2: You need stop VPS to which VPS server want to increase the RAM.#vzctl stop <CT_ID>
Step 3: Increase the VPS RAM by using below command.#vzctl set <CT_ID> --ram <Size> --swap <Size> --save
Ex: #vzctl set 104 –ram 4096M –swap 1G –save
Step 4: You can start and check the status of the VPS.#vzctl start <CT_ID>
#vzctl status <CT_ID>
Step 5: Finally, Login to VPS server via SSH and to verify the RAM size.#free -h
Thank you!