Huge memory usage when copying between S3-like services

This looks like a bug of some kind to me

The most useful thing you could do would be to run with --rc and follow these instructions to create a memory profile.

This will tell us what rclone is using the memory for.

A rule of thumb is 1k per object, so even loading 450k objects into memory, I would hope that wouldn't take more than 500M of memory.

A memory profile will tell us more.