java.lang.OutOfMemoryError: Java heap space

In the Windows environment, LiveCycle Configuration Manager (LCM) encounters an exception "java.lang.OutOfMemoryError: Java heap space" and fails to execute.

Reason

To launch the LCM, Java Virtual Machine (JVM) requires 1536 Mb memory. The Java heap space exception occurs on allocating less than 1536 Mb memory to the JVM.

Resolution

Perform the following steps to resolve the issue:

  1. Navigate to [LiveCycle_root]\configurationManager\bin and open the ConfigurationManager.bat file for editing.

  2. To increase the memory allocation limit, locate the following text:

    :LAUNCH 
    set JAVA_OPTS=-Xms128m -Xmx1024m -Dfile.encoding=utf8 %LCM_USE_STACK%
  3. Change the memory allocation limit from -Xmx1024m to -Xmx1536m.

  4. Save and close the ConfigurationManager.bat file.

  5. Run LiveCycle Configuration Manager.

// Ethnio survey code removed