Re: [pkg-go] Bug#852959: prometheus FTBFS on armhf: github.com/prometheus/prometheus/storage/local fails
On Sat, Jan 28, 2017 at 03:59:45PM -0300, Martín Ferrari wrote:
> On 28/01/17 11:58, Adrian Bunk wrote:
> > Source: prometheus
> > Version: 1.5.0+ds-1
> > Severity: serious
> > https://buildd.debian.org/status/fetch.php?pkg=prometheus&arch=armhf&ver=1.5.0%2Bds-1&stamp=1485604675&raw=0
> As it can be seen in the log:
> runtime: out of memory: cannot allocate 4194304-byte block (2680815616
> in use)
> fatal error: out of memory
> Yesterday I'd asked for a give back, since in the previous attempt the
> tests timed out. I can't reproduce this on the abel porterbox, and it
> seems to me like a problem of a very busy buildd more than any bug in
> the package.
AFAIK the buildds are building one package at a time,
and the machines where prometheus failed have 4 GB RAM.
"2680815616 in use", that is 2.6 GB.
You have only 3 GB address space in userspace,
and I'd guess that is the limit you hit.
Is this test expected to use huge amounts of memory?
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed