Heap memory size of vCenter Server services is larger than the value you entered by cloudvm-ram-size -C
search cancel

Heap memory size of vCenter Server services is larger than the value you entered by cloudvm-ram-size -C

book

Article ID: 429334

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • You may need to increase the heap memory size for some vCenter Server services, such as the vsphere-ui service.

    Manually increase the heap memory

  • The heap memory size is set with the -C option, but the value you entered differs from the value confirmed with the cloudvm-ram-size -l command.

    root@vcsa [ ~ ]# cloudvm-ram-size -l vsphere-ui
    vsphere-ui           =     853
    root@vcsa [ ~ ]# cloudvm-ram-size -C 2048 vsphere-ui
    root@vcsa [ ~ ]# cloudvm-ram-size -l vsphere-ui
    vsphere-ui           =     2304

Cause

This is expected behavior. The CompressClassSize size is added to the value printed by the cloudvm-ram-size -l command.

Resolution

No additional action is required.
You can check the CompressClassSize size in the /etc/vmware/service-layout.mfx file.

root@vcsa [ ~ ]# cat /etc/vmware/service-layout.mfx | grep -e firstboot_name -e vsphere-ui
#firstboot_name                  cloudvm_name                   ciswin_name                customMB  tinyMB largeMB    CompressClassSize StacksizeKB tinyGCThreads largeGCThreads
vsphere_ui_firstboot              vsphere-ui                    vsphere-ui                 2048      597    1536       256               320         1             4

Additional Information