Re: Heap error during VMware vCenter scan (203 Views)
Reply
Valued Contributor
Dimiter Todorov
Posts: 102
Registered: ‎03-02-2010
Message 1 of 3 (224 Views)

Heap error during VMware vCenter scan

Has anyone seen this before?

It happens when we kick off a scan on one of our main vCenters. I presume there must be a configuration item somewhere where we can increase the heap space for the component executing the APX.

 

RemoteException occurred in server thread; nested exception is:

                com.opsware.common.VirtualServerMgmtException: ID:   HPSA-1221

Code:   com.opsware.virtualization.VirtualizationMessageSpec.VMS_COMMUNICATION_ERROR

Details:   Communication with the virtualization service failed.

Details: For Command: /opsw/apx/bin/v12n/apx/utility scan --vmsId='{--vmsRef=910001}' --debug 

 Error Message: 910001:112:'FAIL 90 Scan Exception in thread "main" java.lang.OutOfMemoryError  Java heap space'

Please use plain text.
HP Expert
molinabro1
Posts: 500
Registered: ‎05-09-2007
Message 2 of 3 (206 Views)

Re: Heap error during VMware vCenter scan

Hello, 

 

I seen this error before, Vcenter version?  Also what SA version do you got?

 

Before SA 9.14 there was a defect where we couldn´t integrate Vcenter 4.1 servers



Ed Molina
HP Cloud Solution Support Engineer

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution. Also, if you liked this post please consider providing Kudos on the left side.
Please use plain text.
Valued Contributor
Dimiter Todorov
Posts: 102
Registered: ‎03-02-2010
Message 3 of 3 (203 Views)

Re: Heap error during VMware vCenter scan

Actually I found the KB article on how to fix it.

Here is the fix.

https://support.openview.hp.com/selfsolve/document/KM1215202

 

This is how I replaced the value on all the cores and slices. No restart of services is required.

 

cp /opt/opsware/vmm/bin/utility.sh /opt/opsware/vmm/bin/old_utility.sh

sed -i 's/-Xmx256M/-Xmx2048m/g' /opt/opsware/vmm/bin/utility.sh

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation