Re: How to set dynamic-space-size when dumping image?
"raymond.wiker--- via Sbcl-help" <[email protected]> Tue, 4 Feb 2025 08:03:23 +0100
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
Looks like you need to add :save-runtime-options t to the call to save-lisp-and-die? > On 4 Feb 2025, at 01:23, Josef Wolf <[email protected]> wrote: > > $ cat t.lisp > (defun main () > (format t "~a~%" (sb-ext:dynamic-space-size))) > $ sbcl --noinform --dynamic-space-size 3Gb --end-runtime-options --load t.lisp --eval "(sb-ext:save-lisp-and-die #p\"t\" :toplevel #'main :executable t)" > $ ./t > 1073741824 > $ sbcl --noinform --dynamic-space-size 3Gb --end-runtime-options --eval '(format t "~a~%" (sb-ext:dynamic-space-size))' --eval '(quit)' > 3221225472 > > What am I doing wrong here? > > -- > Josef Wolf > [email protected] > > > _______________________________________________ > Sbcl-help mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sbcl-help _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help