From: Andrew Tridgell Date: Thu, 21 May 1998 05:55:33 +0000 (+0000) Subject: now that we slide the mmap window we can use a smaller MAX_MAP_SIZE X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/2f326946a17abd0ab4bf3f14e5284c2d04f243c0 now that we slide the mmap window we can use a smaller MAX_MAP_SIZE and thus consume less virtual memory on the sending side. --- diff --git a/rsync.h b/rsync.h index 931f6f03..f98ca6ae 100644 --- a/rsync.h +++ b/rsync.h @@ -50,7 +50,7 @@ #define SPARSE_WRITE_SIZE (1024) #define WRITE_SIZE (32*1024) #define CHUNK_SIZE (32*1024) -#define MAX_MAP_SIZE (4*1024*1024) +#define MAX_MAP_SIZE (1*1024*1024) #define IO_BUFFER_SIZE (4096) #define MAX_READ_BUFFER (1024*1024)