[Bug 13433] out_of_memory in receive_sums on large files

samba-bugs at samba.org samba-bugs at samba.org
Sat May 19 16:46:41 UTC 2018


https://bugzilla.samba.org/show_bug.cgi?id=13433

--- Comment #4 from Ben RUBSON <ben.rubson at gmail.com> ---
util2.c:#define MALLOC_MAX 0x40000000

Which is 1 GB.

1 GB / 40 bytes x 131072 bytes = 3276 GB,
which is then the maximum file size in protocol_version >= 30.

Did you try to increase MALLOC_MAX on sending side ?

Btw, would be interesting to know why MAX_BLOCK_SIZE has been limited to 128
KB.
rsync.h:#define MAX_BLOCK_SIZE ((int32)1 << 17)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list