vCenter Server 6.7 fails with "java.lang.OutOfMemoryError" error in sps.log file
search cancel

vCenter Server 6.7 fails with "java.lang.OutOfMemoryError" error in sps.log file

book

Article ID: 336062

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • vCenter Server fails.
  • In the sps.log file, you see similar to:

Exception in thread "pool-16-thread-19" java.lang.OutOfMemoryError: Java heap space
 at java.util.Arrays.copyOfRange(Arrays.java:3664)
 at java.lang.StringBuffer.toString(StringBuffer.java:669)
 at java.io.StringWriter.toString(StringWriter.java:210)
 at com.vmware.vim.vmomi.server.impl.SoapReply.toString(SoapReply.java:61)
 at com.vmware.vim.vmomi.server.http.impl.CompletionContinuerTask.finishSoapReply(CompletionContinuerTask.java:120)
 at com.vmware.vim.vmomi.server.http.impl.CompletionContinuerTask.complete(CompletionContinuerTask.java:93)
 at com.vmware.vim.vmomi.server.http.impl.CompletionContinuerTask.complete(CompletionContinuerTask.java:63)
 at com.vmware.vim.vmomi.server.http.impl.CompletionContinuerTask.run(CompletionContinuerTask.java:53)
 at com.vmware.vim.storage.common.task.opctx.RunnableOpCtxDecorator.run(RunnableOpCtxDecorator.java:38)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)

<sps-runtime.log.stdout>
Starting service process with pid: 44008.
java.lang.OutOfMemoryError: Java heap space
Dumping heap to /var/log/vmware/vmware-sps/java_pid44008.hprof ...
Heap dump file created [2272429755 bytes in 26.110 secs]

Note: The sps.log file is located at:

  • Windows vCenter Server: %ALLUSERSPROFILE%\VMWare\vCenterServer\logs\vmware-sps\sps.log
  • vCenter Server Appliance: /var/log/vmware/vmware-sps/sps.log


Environment

VMware vCenter Server 6.7.x

Cause

This issue is caused by serving too many virtual machine compliance requests (for example, more than 10,000) causing an out of memory condition.

Resolution

This is a known issue affecting vCenter Server 6.7.

Currently, there is no resolution or workaround.