VMware Smart Assurance SMARTS: Installer fails with java.lang.OutOfMemoryError: Java heap space
search cancel

VMware Smart Assurance SMARTS: Installer fails with java.lang.OutOfMemoryError: Java heap space

book

Article ID: 345355

calendar_today

Updated On:

Products

VMware

Issue/Introduction

This article covers the parameters to be provided to run the VMware Smart Assurance SMARTS installers with additional buffer or custom specified heap sizes.

Symptoms:

VMware Smart Assurance SMARTS: SAM / IP installer fails with the following error after the "Ready To Install" routine:
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.StringJoiner.add(StringJoiner.java:201)
at java.base/java.lang.reflect.Modifier.toString(Modifier.java:238)
at java.base/java.lang.reflect.Executable.printModifiersIfNonzero(Executable.java:89)
at java.base/java.lang.reflect.Executable.sharedToGenericString(Executable.java:142)
at java.base/java.lang.reflect.Method.toGenericString(Method.java:481)
at java.desktop/java.beans.MethodRef.find(MethodRef.java:78)
at java.desktop/java.beans.MethodRef.get(MethodRef.java:62)
at java.desktop/java.beans.PropertyDescriptor.getReadMethod(PropertyDescriptor.java:235)
at Flexeraaof.ai(Unknown Source)
at Flexeraaof.am(Unknown Source)
at Flexeraaof.ai(Unknown Source)
at Flexeraaof.an(Unknown Source)
at Flexeraaof.ai(Unknown Source)
at Flexeraaof.an(Unknown Source)
at Flexeraaof.ai(Unknown Source)
at Flexeraaof.an(Unknown Source)
at Flexeraaof.ai(Unknown Source)
at Flexeraaof.an(Unknown Source)
at Flexeraaof.ai(Unknown Source)
at Flexeraaof.ai(Unknown Source)
at Flexeraaof.ac(Unknown Source)
at Flexeraaof.aa(Unknown Source)
at Flexeraaof.ab(Unknown Source)
at com.zerog.ia.installer.actions.InstallUninstaller.b1(Unknown Source)
at com.zerog.ia.installer.actions.InstallUninstaller.bv(Unknown Source)
at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
at com.zerog.ia.installer.actions.InstallDirectory.install(Unknown Source)
at com.zerog.ia.installer.actions.InstallDirectory.install(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
at com.zerog.ia.installer.GhostDirectory.install(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

 


Environment

VMware Smart Assurance - SMARTS

Resolution



Workaround:
  • Clear the /tmp directory of the files/directories (install.dir<pid>) related to prior Smarts installation attempts.  
  • Run the installer with the following options:
    • Specify JVM initial heap size. using: -jvmxms <size>
    • Specify JVM maximum heap size using: -jvmxmx <size>

Example:
./setup-SAM-10_1_0_0-linux64.bin -i console -jvmxms 16m -jvmxmx 64m