RTL uses full incremental compilation to control memory consumption and you can control the net-change database size to reduce memory consumption.
Full Incremental Compilation
Full incremental compilation improves replication performance for real-time loading by reducing memory consumption during the processing of large compilable transactions that contain many commands.
Net-Change Database Size
Reduce memory consumption by the net-change database by triggering the net-change database to flush data to the replicate database once the net-change database size reaches a threshold size.