Available Memory

Diagnose and troubleshoot memory shortages.

If you are running out of memory, you see this error message:
java.lang.OutOfMemoryError

When you are running out of memory, either the Replication Agent drops out of Replicating state or the entire Replication Agent server stops executing.

To support adjusting the amount of memory available to the JRE, all of the executable scripts (or batch files) in the Replication Agent bin directory refer to an environment variable named RA_JAVA_MAX_MEM. All Replication Agent instance RUN scripts also reference the RA_JAVA_MAX_MEM environment variable.

Related concepts
Primary Database Log Access
Replication Agent Logs
Skipped DDL Commands
JVM Thread Dump
Related tasks
Verifying that a Primary Database Object Is Marked for Replication
Checking the Current Replication Agent Status
Using ra_statistics to Check Replication Agent Operations and Performance
Debugging LTL