Comment 7 for bug 113424

C de-Avillez (hggdh2) wrote :

Sorry for the delay, got entangled on some other issues.

What I found is that Cache-Limit gets defaulted to either 16M (in apt-pkg/pkgcachegen.cc, at function pkgMakeStatusCache, or to 12M (same source, function pkgMakeOnlyStatusCache.

So... I think you are correct. I have not stopped to find how much memory gets used by the MMAPped list, but it stands to reason that as the number of lists increase, we will probably get larger MMAP usage.

Nevertheless, I would expect that doubling the default should be sufficient for most. In your case (and I did the same when I found this bug) you are between 8 and 10 times larger -- we really should not need that much.