[PATCH] Reduce memory usage

Jindřich Makovička makovick at gmail.com
Mon Sep 27 11:38:22 UTC 2021

On Sun, 26 Sep 2021 13:54:13 +0200
Jindřich Makovička <makovick at gmail.com> wrote:
> Hi,
> ...
> Applying the attached patch, which reduces the default allocation to
> 32 pointers, and preallocates 32K pointers only for the main file
> lists in send_file_list and recv_file_list, reduces the peak memory
> usage in my case from 142MB to 12MB.

The original patch breaks the testsuite due to extra messages in the

Fix attached.

Jindrich Makovicka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Reduce-memory-usage.patch
Type: text/x-patch
Size: 1885 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/rsync/attachments/20210927/63facec7/0001-Reduce-memory-usage.bin>

More information about the rsync mailing list