Hi Pascal, do you happen to know how --dynamic-space-size is supposed to work?
The dynamic space size (by default) seems to be 1073741824.
I cannot run sbcl with twice this. But if use a much smaller number,
sbcl seems to be much happier, and my program seems to run with no heap allocation problems,
at least at first test.
csh> sbcl --dynamic-space-size 3741824
This is SBCL 1.2.12.61-9741c60, an implementation of ANSI Common Lisp.
More information about SBCL is available at <
http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (compile-file "~/common-lisp/climb/alloc.lisp")
(compile-file "~/common-lisp/climb/alloc.lisp")
; compiling file "/Users/jnewton/sw/climb/alloc.lisp" (written 29 JUN 2015 01:51:06 PM):
; compiling (DEFCLASS CELL ...)
; compiling (DEFUN TEST-ALLOCATE ...)
; ~/common-lisp/climb/alloc.fasl written
; compilation finished in 0:00:00.065
#P"/Users/jnewton/sw/climb/alloc.fasl"
NIL
NIL
* (load "~/common-lisp/climb/alloc.fasl")
(load "~/common-lisp/climb/alloc.fasl")
T
* (test-allocate 3.1)
(test-allocate 3.1)
2
* (test-allocate 3.1)
(test-allocate 3.1)
2
* (test-allocate 3.1)
(test-allocate 3.1)
2
* (test-allocate 3.1)
(test-allocate 3.1)
2
* (test-allocate 3.1)
(test-allocate 3.1)
2
* (test-allocate 3.1)
(test-allocate 3.1)
2
* (test-allocate 3.1)
(test-allocate 3.1)