Common memory usage questions

Paul Slootman paul+rsync at wurtel.net
Wed Feb 10 03:34:07 MST 2010


On Tue 09 Feb 2010, Matt McCutchen wrote:
> 
> The number of files that rsync tries to maintain in the active file
> lists at one time is controlled by {MIN,MAX}_FILECNT_LOOKAHEAD in
> rsync.h.  I did some tests with "ulimit -v", and reducing those values
> helped significantly.  That still may not be enough to fit rsync into 32
> MB.

If you're also preserving hard links (-H), then rsync also needs to
remember each file that's hardlinked (until link_count entries have been
seen, assumedly).


Paul


More information about the rsync mailing list