This topic describes virtual machine memory allocation in VMware Tanzu GemFire for Tanzu Application Service.

The service plans you choose determines how memory is allocated to the cluster processes. One consideration is how much memory is available in each VM.

Memory allocation depends on whether a plan is colocated or non-colocated:

  • A colocated plan is one in which each VM hosts one locator and one server. For example, the default small-footprint plan comprises three locators and three servers hosted on three VMs.

  • A non-colocated plan is one in which each locator or server runs in its own VM. For example, the default medium plan comprises three locators and four servers, each running in its own VM, for a total of seven VMs.

The following sections describe how GemFire for Tanzu Application Service allocates memory based on the total memory of each VM.

Memory Allocation for Colocated Plans

  • If total VM memory is 5GB or less, 512 MB is allocated for the locator Java heap; 90% of the remaining memory is allocated to the cluster server’s Java heap, and the remainder is allocated to the OS.
  • If total VM memory is greater than 5GB, 10% of total memory is allocated for the locator Java heap; 90% of the remaining memory is allocated to the cluster server’s Java heap, and the remainder is allocated to the OS.

Server heap is reduced to accommodate the Anti-Virus and File Integrity Monitoring (FIM) add-ons, if they are present.

Memory Allocation for Non-colocated Plans

Under non-colocated plans, each VM hosts one cluster member, either a locator or a server.

  • If total VM memory is 2GB or less, 1GB is allocated for the locator or server Java heap, and the remainder to the OS.
  • If total VM memory is between 2G and 8GB, 2GB is allocated to the OS, and the remainder to the locator or server Java heap.
  • If total VM total memory is greater than 8G, 4GB is allocated to the OS, and the remainder to locator or server Java heap.

Server heap is reduced to accommodate the Pivotal Anti-Virus and File Integrity Monitoring (FIM) Tanzu Application Service for VMs add-ons, if they are present.

check-circle-line exclamation-circle-line close-line
Scroll to top icon