From 2f326946a17abd0ab4bf3f14e5284c2d04f243c0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 May 1998 05:55:33 +0000 Subject: [PATCH] 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. --- rsync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1