Previous Topic: Auto Restart after OS Update during SP Upgrade

Next Topic: Proxy Credential Change Causes Domain Account Lockout

Out of Memory Error on Machines with Low Memory

Symptom:

The download of a subscription update to a computer with less than the recommended 8 GB of memory fails with a Java out of memory error. Large packages were downloaded using iGateway when there is no Java Virtual Machine (JVM) heap size setting.

Solution:

If you install CA Enterprise Log Manager on hardware with less than the recommended 8 GB of memory, change the JVM heap size setting by editing the caelm-java.group file.

To change the JVM heap size setting

  1. Log on to the CA Enterprise Log Manager server as caelmadmin.
  2. Navigate to the iGateway folder.
  3. Open the caelm-java.group file and locate the the JVM settings section.
  4. Add the new line, as shown in the following illustration in bold:
      <JVMSettings>
    
                    <loadjvm>true</loadjvm>
    
                    <javahome>/usr/java/latest/jre</javahome>
    
                    <Properties name="java.endorsed.dirs=/opt/CA/SharedComponents/iTechnology/endorsed">
    
                            <system-properties>java.endorsed.dirs=/opt/CA/SharedComponents/iTechnology/endorsed</system-properties>
    
                    </Properties>
    
            <Properties name="maxmemory"><jvm-property>-Xmx1250M</jvm-property></Properties>
    
            </JVMSettings>
    
  5. Save and close the caelm-java.group file

Important: Setting the JVM heap size can cause problems when using the Export to PDF option with large data sets. Thus, this option is best used on only small computers.


Copyright © 2010 CA. All rights reserved. Email CA about this topic