From 7b2203b621c0db5c501da27033aed5f4c6db5a49 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Sat, 14 Nov 2009 00:03:28 +0100 Subject: [PATCH] reduce memory requirements to a minimum because it's still using too much - however these changes may reduce performance even more --- zimlib/patches/003-reduce-memory-usage.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zimlib/patches/003-reduce-memory-usage.patch b/zimlib/patches/003-reduce-memory-usage.patch index 24460f1..e261efd 100644 --- a/zimlib/patches/003-reduce-memory-usage.patch +++ b/zimlib/patches/003-reduce-memory-usage.patch @@ -6,8 +6,8 @@ : zimFile(fname, std::ios::in | std::ios::binary), - direntCache(512), - clusterCache(16) -+ direntCache(128), -+ clusterCache(4) ++ direntCache(32), ++ clusterCache(1) { if (!zimFile) throw ZenoFileFormatError(std::string("can't open zim-file \"") + fname + '"');