S3 sync memory overflow (leads to OOM)

Please do not use old rclone version (especially old beta). It is v1.65.1 now

It might be indeed not enough memory to sync 12 million objects (it needs at least 12g just to list them). Or just on the edge. This is not something you can change easily. Get more RAM or use below workaround.

If this is one off sync you can resort to this method: