Previous Topic: Max Disk Space for Virtual CA User Activity Reporting Module Is Too SmallNext Topic: Refreshing Browser Logs User Out of CA User Activity Reporting Module


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.

Solution:

If you install CA User Activity Reporting Module 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 User Activity Reporting Module 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, which run with less than the recommended RAM and processing power.