Overriding the Default for One Instance

Override the default maximum memory setting for one instance of Replication Agent.

  1. Open the RUN script file for editing.
    • For Windows, edit the %SYBASE%\RAX-15_5\<instance>\RUN_<instance>.bat file.

    • For UNIX, edit the $SYBASE/RAX-15_5/<instance>/RUN_<instance>.sh file.

    Here, <instance> is the name of the Replication Agent instance.

  2. Uncomment lines in the RUN 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 RUN script file.