[Issue 10365] New: OOM during replication with a lot of updates