The Memory (MB) chart displays memory usage in the resource pool or vApp.

This chart is located in the Home view of the resource pool or vApp Performance tab.

Table 1. Data Counters

Chart Label

Description

resource_pool or vApp

Sum of the active memory used by all virtual machines in the resource pool or vApp. Active memory is determined by the VMkernel and includes overhead memory.

memory usage = active memory / configured virtual machine memory size

  • Counter: used

  • Stats Type: Absolute

  • Unit: Megabytes (MB)

  • Rollup Type: Average

  • Collection Level: 1

Chart Analysis

Memory usage is not an indicator of performance problems. Memory can be high if a host is swapping or ballooning, which can result in virtual machine guest swapping. In such cases, check for other problems, such as CPU over-commitment or storage latencies.

If you have constantly high memory usage in a cluster, resource pool, or vApp, consider taking the following actions.

Table 2. Memory Performance Enhancement Advice

#

Resolution

1

Verify that VMware Tools is installed on each virtual machine.

2

Verify that the balloon driver is enabled. The balloon driver is installed with VMware Tools and is critical to performance. The VMkernel regularly reclaims unused virtual machine memory by ballooning and swapping. Generally, it does not impact virtual machine performance.

3

If the balloon value is high, check the resource shares, reservations, and limits for the virtual machines and resource pools on the hosts. Verify that the host's settings are adequate and not lower than those set for the virtual machine. If free memory is available on the hosts and the virtual machines are experiencing high swap or balloon memory, the virtual machine (or resource pool, if it belongs to one) has reached its resource limit. Check the maximum resource limit set on that host.

4

If the cluster is not a DRS cluster, enable DRS. To enable DRS, perform the following tasks:

  1. Select the cluster, and click the Configure tab.

  2. Under Services, click vSphere DRS.

  3. click Edit.

    An Edit Cluster Settings dialog box opens.

  4. Click Turn ON vSphere DRS, and click OK.

5

If the cluster is a DRS cluster:

  • Increase the number of hosts, and migrate one or more virtual machines to the new host.

  • Check the aggressiveness threshold. If the value is low, increase the threshold. It might help avoid hot spots in the cluster.

6

Add more physical memory to one or more hosts.