On 24 January 2012 06:27, Christoph Egger <christ...@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
guess if this is a limitation, then DynamicMMap on non-Linux should
make better use of the fallback (char[] buffer instead of mmap -- no
comment ;-)

As a temporary fix, you can try setting APT::Cache-Fallback "true", or
APT::Cache-Start much larger than it's default



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to