[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657085: Please increase the size of APT::Cache-Limit. Current value: 25165824. -- but ignores setting



On Sat, Jan 28, 2012 at 12:20:58PM +0100, David Kalnischkies wrote:
> On Tue, Jan 24, 2012 at 04:49, Daniel Hartwig <mandyke@gmail.com> wrote:
> > As a temporary fix, you can try setting APT::Cache-Fallback "true"
> 
> mhh. Jonathan (cc'ed) claims in his mail to control that this workaround works.
> Thats kind of surprising as the constructor of DynamicMMap should already
> enable the Fallback on non-linux architectures (as long as Grow is enabled),
> so what fails here should be already the fallback method with realloc()…
> 
> (mremap() isn't available on non-linux, so the dynamic mmap doesn't use a mmap
>  on these archs as it can't grow.

BSD developers just don't want it IIRC, as it is practically unneeded, it
has the same effect as calling munmap() and then mmap() again. We already
store the fd, so we could just use munmap() and mmap() instead of mremap()
if we wanted to.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.



Reply to: