Bug#474402: sbcl: FTBFS on amd64: mmap: Cannot allocate memory: ensure_space: failed to validate 8589869056 bytes at 0x1000000000

Thiemo Seufer ths at networkno.de
Sat Apr 5 15:34:23 UTC 2008


Kurt Roeckx wrote:
[snip]
> > This is no new behaviour of SBCL, and rather a implementation limitation
> > than a bug. SBCL needs to reserve a fixed contiguous address space for
> > its GC-managed memory. Linux 2.6 kernels reserve by default memory or
> > backing store count for such mmapped-but-not-used address space
> > reservations.
> 
> So can that be reduced somehow?

Hm, invoking with e.g. "sbcl --dynamic-space-size 200" might help,
I'll have a look.

OTOH, the etch (and sarge :-) versions AKA pre-1.0 don't have that
option, which could cause trouble for rebuilds.

> I've created a swap file of 4 GB, which should give about 9 GB that can
> be allocated, and rescheduled sbcl.  But I'd like to remove that.

Thanks.


Thiemo





More information about the pkg-common-lisp-devel mailing list