2V0-621 · Question #129
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…
The correct answer is A. Increase the memory resources of the vCenter Server. The vCenter Inventory Service is throwing Java heap OutOfMemoryError, indicating insufficient RAM on the vCenter Server host. Increasing the vCenter Server memory allows the JVM to allocate a larger heap automatically.
Question
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?
Options
- AIncrease the memory resources of the vCenter Server.
- BIncrease the values using cloudvm-ram-size.
- CIncrease the memory resouces of the Platform Services Controller.
- DIncrease the wrapper.java.maxmemory value in wrapper.conf.
How the community answered
(32 responses)- A81% (26)
- B6% (2)
- C9% (3)
- D3% (1)
Why each option
The vCenter Inventory Service is throwing Java heap OutOfMemoryError, indicating insufficient RAM on the vCenter Server host. Increasing the vCenter Server memory allows the JVM to allocate a larger heap automatically.
In vSphere 6.x, the Inventory Service JVM heap size is automatically calculated based on the total available system memory of the vCenter Server host. Increasing the physical or virtual memory resources of the vCenter Server machine allows the Inventory Service to claim a larger heap, resolving the OutOfMemoryError without manual JVM tuning.
cloudvm-ram-size is a VCSA sizing parameter that sets the overall memory profile for the appliance, but it does not directly resolve a JVM heap exhaustion issue in the Inventory Service when memory resources are the underlying constraint.
The Platform Services Controller handles authentication and licensing services and does not host the Inventory Service; adding memory to the PSC has no effect on Inventory Service heap allocation.
Manually editing wrapper.java.maxmemory in wrapper.conf was the approach for vSphere 5.x, but in vSphere 6.x the heap is auto-managed based on system RAM, so the root fix is to increase available host memory rather than hardcoding a JVM parameter.
Concept tested: vCenter Inventory Service memory and heap tuning
Source: https://kb.vmware.com/s/article/2083203
Topics
Community Discussion
No community discussion yet for this question.