Overriding the Default for All Instances

Override the default maximum memory setting for all instances of Replication Agent.

  1. Open the ra script file for editing.
    • For Windows, edit the %SYBASE%\RAX-15_5\bin\ra.bat file.

    • For UNIX, edit the $SYBASE/RAX-15_5/bin/ra.sh file.

  2. Uncomment lines in the ra script file.
    • For Windows, uncomment this line:

      set RA_JAVA_MAX_MEM=512m
    • For UNIX, uncomment these lines:

      RA_JAVA_MAX_MEM=512m
      export RA_JAVA_MAX_MEM
      Note: In UNIX, spaces are not allowed on either side of the equals sign.
  3. If necessary, replace “512m” with a value appropriate for your replication environment.
    Note: The "m" here stands for megabytes.
  4. Save the ra script file.