Bug#657085: Please increase the size of APT::Cache-Limit. Current value: 25165824. -- but ignores setting
On Tue, Jan 24, 2012 at 11:49:50AM +0800, Daniel Hartwig wrote:
> On 24 January 2012 06:27, Christoph Egger <christoph@debian.org> wrote:
> >
> > E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
>
> This value corresponds to the initial cache size, APT::Cache-Start.
>
> > [...]
> >
> > Iǘe set the cache size to 671088640
> >
> > APT::Cache-Limit "671088640";
> >
> > However apt's still failing the same way and doesn't even mention the changed constant
> > [...]
> >
> > -- System Information:
> > Debian Release: wheezy/sid
> > APT prefers testing
> > APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> > Architecture: kfreebsd-amd64 (x86_64)
> >
> > Kernel: kFreeBSD 10.0-0-amd64
>
> According to the comments on DynamicMMap::Grow, resizing the mmap with
> a non-Linux kernel is nigh impossible. This may or may not be
> accurate, but it seems to be a current limitation in APT anyway. I
Well we'd simply need to use munmap() + mmap() instead of mremap() on
non-Linux architectures.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Reply to: