Check the RAM of a virtual machine

The amount of random-access memory (RAM) from the hypervisor might not correspond with the actual amount seen from within the virtual machine (VM). Therefore, it is important to confirm that your VM has sufficient RAM to support your configuration.

About this task

Important:
random-access memory (RAM) and central processing unit (CPU) resources must be configured in accordance with the intended usage. Before deployment, verify your sizing requirements in this documentation.

Procedure

  1. Open a terminal.
  2. Enter this command:
    sysctl hw.physmem
    The terminal will show the physical memory of the virtual machine (VM).
  3. If the memory is insufficient for your configuration, use the Minimum Guardian sizing requirements table to identify the correct amount of RAM that you need.
  4. To confirm that the CPU allocation in the hypervisor matches your sizing requirements for the intended deployment, see Check the CPU of a virtual machine.