S3 sync high memory usage (leads to OOM)

My minio bucket information: There are a total of 168GB files, approximately 12 million files, each of which is 10240 bytes
Server information for installing rclone: CPU: 12, memory: 16g
But every time I use the sync function, there is a memory overflow(OOM) and my process is killed,
I have tried using the following parameters, but none of them work. Do you have any good suggestions?

--cache-chunk-no-memory 
--use-mmap
--s3-max-upload-parts 

welcome to the forum,

when you posted, there should have been a template of questions for you to answer?
help us to help you and please answer them.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.