nerdexam
Broadcom-VMware

2V0-622 · 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 OutOfMemoryError in the Java heap space for the vCenter Inventory Service indicates the JVM is not allocated enough memory, and the fix is to increase the vCenter Server's physical memory resources.

Section 7 – Administer and Analyze vSphere 6.5 Performance

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

(19 responses)
  • A
    84% (16)
  • B
    5% (1)
  • C
    11% (2)

Why each option

The OutOfMemoryError in the Java heap space for the vCenter Inventory Service indicates the JVM is not allocated enough memory, and the fix is to increase the vCenter Server's physical memory resources.

AIncrease the memory resources of the vCenter Server.Correct

In vCenter Server Appliance deployments, the JVM heap size for the Inventory Service is proportionally allocated based on the total system memory available to the appliance. Increasing the memory resources of the vCenter Server VM allows the JVM to access a larger heap, directly resolving the OutOfMemoryError. This is the VMware-recommended approach for resolving wrapper.log Java heap space errors in the VCSA.

BIncrease the values using cloudvm-ram-size.

cloudvm-ram-size is a parameter used to reconfigure the overall RAM allocation profile of the vCenter Server Appliance, not a targeted fix for the Inventory Service Java heap space error.

CIncrease the memory resouces of the Platform Services Controller.

The Platform Services Controller is a separate component responsible for authentication and certificate management - it does not host the Inventory Service, so increasing its memory would not resolve this error.

DIncrease the wrapper.java.maxmemory value in wrapper.conf.

Manually editing wrapper.java.maxmemory in wrapper.conf applies to Windows-based vCenter installations; for VCSA the recommended fix is to increase the appliance's overall memory so the JVM heap scales automatically.

Concept tested: vCenter Inventory Service Java heap memory resolution

Source: https://kb.vmware.com/s/article/2052420

Topics

#vCenter Inventory Service#Java heap space#OutOfMemoryError#performance tuning

Community Discussion

No community discussion yet for this question.

Full 2V0-622 Practice