[pkg-gnupg-maint] Bug#852106: gpgme1.0: Build allocates 200 GB as a normal thing

Santiago Vila sanvila at unex.es
Sat Jan 21 17:40:06 UTC 2017


Package: gpgme1.0
Version: 1.8.0-3

Hello dkg et al.

I have a cron job monitoring "Committed_AS" in /proc/meminfo every time
my autobuilders are running, that way I know how much memory each
package requires.

Well, building gpgme1.0 allocates 100 GB, 200 GB and sometimes 500 GB.

To see how this could be a problem, take a machine with a lot of
memory, say, 64 GB of RAM, which btw is more than three times the
amount required to build any other Debian package, and disable memory
overcommiting by creating /etc/sysctl.d/10-no-overcommit.conf with
this contents:

vm.overcommit_ratio = 100
vm.overcommit_memory = 2

Then write "sysctl --system" to load those values.

Then try to build this package in such machine, and it will fail.

I have detected only one other package with a problem like this.
If you are curious:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848589

Every other package which I tried builds fine with only 20 GB of RAM,
so this is clearly an anomaly.

Thanks.



More information about the pkg-gnupg-maint mailing list