Service Catalog 17.2 installation fails

book

Article ID: 131103

calendar_today

Updated On:

Products

CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Error during installation and then configuration mdb failed
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[press enter to close this window]

Cause

The install machine has some disk fragmentation issue. 
Hence it is not able to allocate heap memory and throws an error

Environment

Service Management 17.2

Resolution

Catalog executable uses its own Java 7 Virtual Machine internally and needs heap space. 

1. Add a below mentioned System Environment Variable
Parameter: _JAVA_OPTIONS
Value: -Xms128M -Xmx256M
2. Restart the common installer from the media and follow the wizard screens to configure as per environment

3. The installer will trigger and display the wizard. However, while launching the executable it performs some internal operation allocating the complete heap space.
Followed the below steps to relaunch the common installer:
--------------------------------------------------------------------------------

Please run the below command under the folder "DBCleanupUtility" from the media

1. DBCleanupUtility.bat
 - Once completed cleanup of a specific product follow next step

2. Restarted the machine
3. Triggered common installer and follow the wizard screens to configure as per environment

4. Installs the Common DB , Catalog installs and MDB task will be completed

5. If EEM deployment fails then follow this article - kb000131102.
Link: https://comm.support.ca.com/kb/eem-deployment-failed-during-sm-172-installation/kb000131102
6. Installation should complete without any issues

Additional Information

Note: Starting installer in verbose mode shows below information
 
cmd: "C:\Users\<ACCOUNT>\AppData\Local\Temp\2\I1555499377\Windows\resource\jre\bin\java.exe" -Xms536870912 -Xmx1073741824 -classpath "C:\Users\<ACCOUNT>\AppData\Local\Temp\2\I1555499377\InstallerData\IAClasses.zip;C:\Users\<ACCOUNT>\AppData\Local\Temp\2\I1555499377\InstallerData\Execute.zip;C:\Users\<ACCOUNT>\AppData\Local\Temp\2\I1555499377\Windows\InstallerData\Execute.zip;C:\Users\<ACCOUNT>\AppData\Local\Temp\2\I1555499377\InstallerData\Resource1.zip;C:\Users\<ACCOUNT>\AppData\Local\Temp\2\I1555499377\Windows\InstallerData\Resource1.zip;C:\Users\<ACCOUNT>\AppData\Local\Temp\2\I1555499377\InstallerData;C:\Users\<ACCOUNT>\AppData\Local\Temp\2\I1555499377\Windows\InstallerData;" com.zerog.lax.LAX "C:/Users/<ACCOUNT>/AppData/Local/Temp/2/I1555499377/Windows/CA_Service_Catalog.lax" "C:/Users/<ACCOUNT>/AppData/Local/Temp/2/laxDD88.tmp"
Picked up _JAVA_OPTIONS: -Xms512M -Xmx2048M -XX:MaxPermSize=256M