[PATCH] Reduce memory usage
makovick at gmail.com
Mon Sep 27 14:42:25 UTC 2021
On Mon, 27 Sep 2021 13:38:22 +0200
Jindřich Makovička <makovick at gmail.com> wrote:
> 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
Actually it makes more sense to change the debug print to check that
the original pointer is non-null and leave the testsuite as is.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1957 bytes
Desc: not available
More information about the rsync