The memory consumption by vSphere-client service depends on many factors like the size of vCenter Server, the scale of the inventory, how many and what kind of plugins are used, and so on. Although the initial heap sizes of each services are determined during system boot as cloud-ram-size(.bat) -l shows, tuning may be required if the initial allocation does not fully meet the requirement of each environment.
To resolve this issue, change the maximum heap size manually:
- Change the vSphere Web Client Server maximum heap size manually:
In vCenter Server Appliance:
Run this command:
cloudvm-ram-size -C XXX vsphere-client.
Where XXX is the desired heap size in MB.
To determine the ram size run this command:
cloudvm-ram-size -l
In Windows:
Locate the C:\Program Files\VMware\vCenter Server\visl-integration\usr\sbin\cloudvm-ram-size.bat file and run this command:
cloudvm-ram-size.bat -C XXX vspherewebclientsvc.
Where XXX is the desired heap size in MB.
To determine the ram size run this command:
cloudvm-ram-size.bat -l
-
Restart the vSphere Web Client service:
In vCenter Server Appliance:
Run this restart command:
vCSA 6.0: service vsphere-client restart
vCSA 6.x: service-control --stop vsphere-client and service-control --start vsphere-client
In Windows:
- Open Component Services.
-
Click Start.
-
Go to All Programs > Administrative Tools > Component Services.
-
In the left pane select Services.
-
Right-click vSphere web client service and click Stop.
-
Right-click and click Start