Hi,As a quick fix I modified the file
I use SBCL 18.104.22.168.master.102-4b222ef-dirty on amd64.
When I start with the parameter
sbcl -dynamic-space-size 7000
not as much memory as I would expect is provided as dynamic space.
The following expression always evaluates to 1024:
(/ (- sb-vm:dynamic-space-end sb-vm:dynamic-space-start)
(expt 1024 2))./src/compiler/x86-64/parms.lisp
#x10000000007516192768 ;; <= I added this line;; :default-dynamic-space-size
#!+win32 #!+win32 nil #x10000)Now I can allocate up to 7GB in my sbcl image.Please note, that this change might interfere with the settings on openbsd and win32 platforms.It took me a while to track this weird behaviour down to this file.My previous attemps at modifying runtime.c brought no change. Eventually I figured out, that a header file that is generated during genesis had a hard limit of 1GB on my platform.