Re: How to set dynamic-space-size when dumping image?

Josef Wolf <[email protected]> Tue, 4 Feb 2025 13:44:24 +0100
Newsgroups gmane.lisp.steel-bank.general
Message-ID <[email protected]>
That solved my problem.

Thenks for your Help, Raymond!

On Tue, Feb 04, 2025 at 08:03:23AM +0100, [email protected] wrote:
> 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
> 

-- 
Josef Wolf
[email protected]