An administrator is observing slow performance of the vCenter Inventory Service and observes the entries from the wrapper.log file:
Exception in thread "tomcat-exec-2" java.lang.OutOfMemoryError: Java heap spaceException in thread "http-bio-0.0.0.0-10443-Acceptor-0" java.lang.OutOfMemoryError: Java heap space
What should the administrator do to resolve the problem?
A. Increase the memory resources of the vCenter Server.
B. Increase the values using cloudvm-ram-size.
C. Increase the memory resouces of the Platform Services Controller.
D. Increase the wrapper.java.maxmemory value in wrapper.conf.
Correct Answer: A
Explanation/Reference:
Explanation: Cause
This issue is occurs if the allocated JVM maximum memory heap is too low for the VMware Inventory service, VMware Profile-Driven Storage service, or VMware VirtualCenter Web Management service.
Several core vCenter Server services use individual configuration files (wrapper.conf) to determine the JVM maximum heap size that each service can use. The VMware Inventory service, VMware Profile-Driven Storage service, and VMware VirtualCenter Web Management service rely on the JVM maximum memory heap configured in their individual wrapper.conf file and play a critical role in the functionality of vCenter Server.
Note: If vCenter Server 5.5 has recently been updated beyond 5.5 U2, see Upgrading VMware vCenter Server 5.5 to 5.5 U2 or later reduces the JVM maximum memory heap size (2114669). Resolution
This is a known issue affecting vCenter Server 5.x.
To resolve this issue, manually set the inventory size.
To change the JVM maximum memory heap size for a Windows installed vCenter Server 5.x, see, see Configuring Tomcat server settings in VMware vCenter
Server 5.1 and 5.5 (2021302).
To manually set the inventory size in vCenter Server Appliance 5.x:
1.Log in to vCenter Server Appliance administration interface (VAMI) URL:
https://vCenter_Server_FQDNIP:5480
2.Click the Services tab.
3.Change the Inventory Size to Medium or Large, depending on your environment.
Note: The system memory may need to be increased when changing this setting. For more information on environment sizing, see theConfigure Inventory Size for the VMware vCenter Server Appliance section of the Configuring Hosts and vCenter Server guide.
4.Restart the VMware Profile-Driven Storage Service and VMware Inventory Service. For more information, see Stopping, starting, or restarting vCenter Server Appliance services (2054085).
Reference:
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2126282