;;; running like this: ;;; ./arp-boats.scm -:g -:hm8M 2>&1 | grep resize -C 5 (define state '()) (let loop () (set! state (alist-update (random 10000) (make-string 1000) state)) (loop)) ;; and you will *sometimes* see: ;; [GC] resized heap to 8388608 bytes ;; [GC] (new) fromspace: start=0x0000000001846560, limit=0x0000000001c46560 ;; [GC] (new) tospace: start=0x0000000001046540, limit=0x0000000001446540 ;; [GC] (old) fromspace: start=0x0000000001846560, limit=0x0000000001c46560 ;; [GC] (old) tospace: start=0x0000000001046540, limit=0x0000000001446540 ;; going on in a loop after about 4 seconds. ;; other times, you might see ;;[panic] out of memory - heap full while resizing - ;; execution terminated ;; and the program exiting (good thing, I suppose?)