[gambit-list] gambit + blackhole + srfi 13

Steve Huffman steve.huffman at gmail.com
Mon Aug 31 00:21:14 EDT 2009


Hi All,

I'm attempting to compile Black Hole on Gambit 4.5.1. I've installed
BH from Git. I ran modules-compile!, and each of the standard BH
modules compiled successfully, except for srfi-13, which fails because
it runs out of memory.

I'm running OS X with 4 gigs of ram. I notice the cc process that is
spawned uses about 3.5 gigs before it dies. That seems a bit
excessive, no?

> (modules-compile! (modules-in-dir "~~/lib/modules/std") #t)
Compiling 1 modules
"/usr/local/Gambit-C/lib/modules/std/srfi/13.scm" (1/1)
cc1(209) malloc: *** mmap(size=97247232) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

cc1: out of memory allocating 97245440 bytes after a total of 0 bytes
Warning: Compilation failed: C compilation or link failed while
compiling "/usr/local/Gambit-C/lib/modules/std/srfi/13.scm"
>

Thanks for any help,

Steve



More information about the Gambit-list mailing list