QUESTION NO: 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: 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.
资料说答案是A
但是看这里
https://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.vsphere.upgrade.doc/GUID-ABF63FAB-711C-4C8D-87D7-E6FB73B98425.html
The maximum JVM heap size, in megabytes. This setting controls the maximum size of the Java heap. Tuning this parameter can reduce the overhead of garbage collection, improving server response time and throughput. For some applications, the default setting for this option is too low, resulting in a high number of minor garbage collections.
Inventory Service: wrapper.java.maxmemory=2048 Profile-Driven Storage Service: wrapper.java.maxmemory=1024 The vSphere Web Client: For large deployments you might need to set this option towrapper.java.maxmemory=2048 . 所以我认为答案是D
大家怎么看?
|