"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go to file
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
.github build: fix macOS build after brew changes 2019-10-05 11:51:28 +01:00
backend s3: Reduce memory usage streaming files by reducing max stream upload size 2019-11-09 15:55:19 +00:00
bin bin/get-github-release: support tar.bz2 files 2019-10-01 16:23:36 +01:00
cmd config: do not open browser on headless if google fs 2019-10-30 14:12:42 +00:00
contrib/docker Contrib: Add sample WebDAV server Docker Compose manifest. 2019-09-15 16:06:54 +01:00
docs Start v1.50.1-DEV development 2019-11-02 15:26:01 +00:00
fs config: check a remote exists when creating a new one 2019-11-05 12:39:33 +00:00
fstest chunker: fix integration tests and hashsum issues 2019-10-13 10:43:46 +01:00
graphics graphics: update rclone logos to new design 2019-08-24 09:31:33 +01:00
lib config: do not open browser on headless if google fs 2019-10-30 14:12:42 +00:00
vendor vendor: change goftp/server url 2019-10-29 17:41:56 +00:00
vfs mount: replace use of WriteAt with Write for cache mode >= writes and O_APPEND 2019-10-26 17:27:52 +01:00
.gitattributes build: add azure pipelines build 2019-08-06 10:31:32 +01:00
.gitignore chore: update .gitignore 2019-06-19 11:59:46 +01:00
.golangci.yml build: move linter build tags into Makefile to fix golangci-lint 2019-04-12 15:48:36 +01:00
CONTRIBUTING.md docs: Add notes on how to find out the encodings used in a backend 2019-09-30 22:00:25 +01:00
COPYING Initial commit - some small parts working 2012-11-18 17:32:31 +00:00
Dockerfile Dockerfile fixes 2019-09-17 10:12:32 +01:00
go.mod vendor: change goftp/server url 2019-10-29 17:41:56 +00:00
go.sum vendor: change goftp/server url 2019-10-29 17:41:56 +00:00
MAINTAINERS.md Add Ivan Andreev to maintainers 2019-10-20 00:33:16 +03:00
Makefile build: make replacement of new rclone binary atomic on build 2019-10-28 22:11:38 +00:00
MANUAL.html Version v1.50.0 2019-10-26 11:04:54 +01:00
MANUAL.md Version v1.50.0 2019-10-26 11:04:54 +01:00
MANUAL.txt Version v1.50.0 2019-10-26 11:04:54 +01:00
notes.txt Replace test_all.sh with test_all.go which is cross platform and parallel 2015-12-30 09:26:34 +00:00
rclone.1 Version v1.50.0 2019-10-26 11:04:54 +01:00
rclone.go lib: add plugin support 2019-09-29 11:05:10 +01:00
README.md Fix 1fichier link in Readme 2019-10-08 21:55:12 +01:00
RELEASE.md Start v1.50.1-DEV development 2019-11-02 15:26:01 +00:00
VERSION Start v1.50.1-DEV development 2019-11-02 15:26:01 +00:00

rclone logo

Website | Documentation | Download | Contributing | Changelog | Installation | Forum

Build Status Windows Build Status Build Status CircleCI Go Report Card GoDoc Docker Pulls

Rclone

Rclone ("rsync for cloud storage") is a command line program to sync files and directories to and from different cloud storage providers.

Storage providers

Please see the full list of all storage providers and their features

Features

  • MD5/SHA-1 hashes checked at all times for file integrity
  • Timestamps preserved on files
  • Partial syncs supported on a whole file basis
  • Copy mode to just copy new/changed files
  • Sync (one way) mode to make a directory identical
  • Check mode to check for file hash equality
  • Can sync to and from network, e.g. two different cloud accounts
  • Optional large file chunking (Chunker)
  • Optional encryption (Crypt)
  • Optional cache (Cache)
  • Optional FUSE mount (rclone mount)
  • Multi-threaded downloads to local disk
  • Can serve local or remote files over HTTP/WebDav/FTP/SFTP/dlna

Installation & documentation

Please see the rclone website for:

Downloads

License

This is free software under the terms of MIT the license (check the COPYING file included in this package).