now that we slide the mmap window we can use a smaller MAX_MAP_SIZE
authorAndrew Tridgell <tridge@samba.org>
Thu, 21 May 1998 05:55:33 +0000 (05:55 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 May 1998 05:55:33 +0000 (05:55 +0000)
and thus consume less virtual memory on the sending side.

rsync.h

diff --git a/rsync.h b/rsync.h
index 931f6f0..f98ca6a 100644 (file)
--- 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)