ContainerBackgroundProcessor[StandardEngine[Catalina]] terminated with exception: java.lang.OutOfMemoryError: PermGen space
Environment
VMware vCenter Server 6.0.x
Resolution
Perform the steps below:
Increase the memory of vCenter Server virtual machine (If it is already high, skip to step 2).
Increase the heap size of the web client running the command and monitor if it helps. If increasing heap size move to step 3.
On vCenter Server Appliance, run: cloudvm-ram-size -C XXX vsphere-client (where XXX is the desired heap size in MB).
In Windows, locate the file C:\Program Files\VMware\vCenter Server\visl-integration\usr\sbin)
\cloudvm-ram-size.bat and run:
cloudvm-ram-size.bat -C XXX vspherewebclientsvc (where XXX is the desired heap size in MB).
After changing the maximum heap size, you’ll need to restart the vSphere Web Client service for the change to take effect.
Increase the PermGen space if more plugins are registered to vCenter.
C:\ProgramData\VMware\vCenterServer\cfg and open the file service-layout.mfx in notepad and change the MaxPermMB.
In vCenter server appliance:
Navigate to /etc/vmware and open the file service-layout.mfx.
Notes:
Changing the PermGen space without a valid reason and the error logging terminated with exception:java.lang.OutOfMemoryError: PermGen space in virgo logs is not recommended
When the number of Plugins register to vCenter are more, then the PermGen space can be increased if there are performance issues seen on the web-client .