Override the default maximum memory setting for one instance of Replication Agent.
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.
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