Override the default maximum memory setting for all instances of Replication Agent.
For Windows, edit the %SYBASE%\RAX-15_5\bin\ra.bat file.
For UNIX, edit the $SYBASE/RAX-15_5/bin/ra.sh 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