From e867bd28a8f540b1e03c69210112bb55cc377569 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 4 Nov 2010 14:16:27 +0000 Subject: [PATCH] Increase default APT::Cache-Limit up to 48M --- apt-0.5.15lorg2-lorg-cache-limit.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-0.5.15lorg2-lorg-cache-limit.patch b/apt-0.5.15lorg2-lorg-cache-limit.patch index 8f034c0..221ae08 100644 --- a/apt-0.5.15lorg2-lorg-cache-limit.patch +++ b/apt-0.5.15lorg2-lorg-cache-limit.patch @@ -13,7 +13,7 @@ index 1dbd7bf..d743ec2 100644 MMap **OutMap,bool AllowMem) { - unsigned long MapSize = _config->FindI("APT::Cache-Limit",12*1024*1024); -+ unsigned long MapSize = _config->FindI("APT::Cache-Limit",24*1024*1024); ++ unsigned long MapSize = _config->FindI("APT::Cache-Limit",48*1024*1024); vector Files(List.begin(),List.end()); unsigned long EndOfSource = Files.size(); @@ -22,7 +22,7 @@ index 1dbd7bf..d743ec2 100644 bool pkgMakeOnlyStatusCache(OpProgress &Progress,DynamicMMap **OutMap) { - unsigned long MapSize = _config->FindI("APT::Cache-Limit",8*1024*1024); -+ unsigned long MapSize = _config->FindI("APT::Cache-Limit",24*1024*1024); ++ unsigned long MapSize = _config->FindI("APT::Cache-Limit",48*1024*1024); vector Files; unsigned long EndOfSource = Files.size(); if (_system->AddStatusFiles(Files) == false)