mirror of
https://github.com/rclone/rclone.git
synced 2026-10-26 05:18:40 -04:00
backend/s3: use memory pool for buffer allocations
Currently each multipart upload allocated his own buffers, which after file upload was garbaged. Next files couldn't leverage already allocated memory which resulted in inefficent memory management. This change introduces backend memory pool keeping memory chunks which can be used during object operations. Fixes #3967
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f