rclone/backend
Nick Craig-Wood 9b5308144f s3: Reduce memory usage streaming files by reducing max stream upload size
Before this change rclone would allow the user to stream (eg with
rclone mount, rclone rcat or uploading google photos or docs) 5TB
files.  This meant that rclone allocated 4 * 525 MB buffers per
transfer which is way too much memory by default.

This change makes rclone use the configured chunk size for streamed
uploads.  This is 5MB by default which means that rclone can stream
upload files up to 48GB by default staying below the 10,000 chunks
limit.

This can be increased with --s3-chunk-size if necessary.

If rclone detects that a file is being streamed to s3 it will make a
single NOTICE level log stating the limitation.

This fixes the enormous memory usage.

Fixes #3568
See: https://forum.rclone.org/t/how-much-memory-does-rclone-need/12743
2019-11-09 15:55:19 +00:00
..
alias build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
all New backend for Citrix Sharefile - Fixes #1543 2019-09-30 12:28:33 +01:00
amazonclouddrive amazonclouddrive: use lib/encoder 2019-09-30 22:00:24 +01:00
azureblob azureblob: disable logging to the Windows event log 2019-10-21 11:50:31 +01:00
b2 b2: remove unverified: prefix on sha1 - fixes #3654 2019-10-23 08:41:56 +01:00
box box: use lib/encoder 2019-09-30 14:05:49 +01:00
cache fstests: allow skipping of the broken UTF-8 test for the cache backend 2019-10-10 10:36:18 +01:00
chunker chunker: fix integration tests and hashsum issues 2019-10-13 10:43:46 +01:00
crypt config: give config questions default values - fixes #3672 2019-11-05 11:53:44 +00:00
drive config: give config questions default values - fixes #3672 2019-11-05 11:53:44 +00:00
dropbox hash: fix hash names for DropboxHash and CRC-32 2019-10-30 12:20:10 +00:00
fichier fichier: fix accessing files > 2GB on 32 bit systems - fixes #3581 2019-10-01 16:03:49 +01:00
ftp ftp: allow disabling EPSV mode 2019-10-10 21:00:41 +01:00
googlecloudstorage googlecloudstorage: use lib/encoder 2019-09-30 22:00:24 +01:00
googlephotos rest: add context propagation to rest library #3257 2019-09-09 23:27:07 +01:00
http http: fix race introduced in 7982aaf151 2019-09-14 08:48:13 +01:00
hubic Add context to all http.NewRequest #3257 2019-09-09 23:27:07 +01:00
jottacloud config: give config questions default values - fixes #3672 2019-11-05 11:53:44 +00:00
koofr koofr: use lib/encoder 2019-09-30 22:00:25 +01:00
local local: fix listings of . on Windows - fixes #3676 2019-10-30 16:00:18 +00:00
mailru mailru: comment out some debugging statements 2019-10-02 20:10:01 +01:00
mega mega: fix after lib/encoder change 2019-10-02 12:41:52 +01:00
onedrive onedrive: no trailing slash reading metadata... 2019-10-29 13:33:11 +00:00
opendrive opendrive: use lib/encoder 2019-09-30 14:05:49 +01:00
pcloud pcloud: use lib/encoder 2019-09-30 22:00:24 +01:00
premiumizeme premiumizeme: use lib/encoder 2019-10-02 11:34:08 +01:00
putio putio: add ability to resume uploads 2019-10-14 20:01:16 +01:00
qingstor qingstor: use lib/encoder 2019-09-30 22:00:25 +01:00
s3 s3: Reduce memory usage streaming files by reducing max stream upload size 2019-11-09 15:55:19 +00:00
sftp sftp: include more ciphers with use_insecure_cipher 2019-10-17 14:58:31 +01:00
sharefile sharefile: use lib/encoder 2019-09-30 22:00:25 +01:00
swift swift: use lib/encoder 2019-09-30 22:00:24 +01:00
union docs: make the config walkthroughs consistent for each backend 2019-08-26 10:47:17 +01:00
webdav webdav: parse and return sharepoint error response 2019-10-06 20:17:13 +01:00
yandex yandex: use lib/encoder 2019-10-05 10:22:43 +01:00