Re: help with dynamic-space-size

Alexander Fedorov <[email protected]> Tue, 3 Feb 2026 19:24:40 +0100
Newsgroups gmane.lisp.steel-bank.general
Message-ID <CAEbcNHHbTNj-+-YTmXeXjrAMf8zvDPmp3Hme_jTTqiOMuU4NeA@mail.gmail.com>
--===============5303054068074303499==
Content-Type: multipart/alternative; boundary="0000000000003ccb6f0649ef8e2e"

--0000000000003ccb6f0649ef8e2e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Did you remove or uncomment the third line at the same time, the one
setting inferior-lisp-program to "sbcl"? Otherwise the value of the
variable will be set to "sbcl" immediately after being set to "sbcl
--dynamic-space-size 3072", making the previous line irrelevant.

(load (expand-file-name "~/quicklisp/slime-helper.el"))
(setq inferior-lisp-program "sbcl --dynamic-space-size 3072")
; (setq inferior-lisp-program "sbcl")  <-- this line should be commented
out or removed


On Tue, 3 Feb 2026 at 16:16, Greg Bennett <[email protected]> wrote:

> That's because I had switched back to a configuration which I know
> compiles without complaint.
> Sorry for the confusion.
>
> I have just enabled the setq with the --dynamic-space-size 3072 option,
> opened a new emacs, M-x slime
> to get an sbcl, evaluated
>   (/ (dynamic-space-size) (expt 1024 3)) which returns 1
>
> Closed all that. In a terminal executed
> sbcl --dynamic-space-size 3072
> and in the new sbcl evaluated
>   (/ (dynamic-space-size) (expt 1024 3)) which returns 3
>
> Am I back to (b) .. the init.el is not being read and values are being
> set earlier somewhere ?
>
> I tried this, for completeness:
> rename .init.el as old.init.el
> create file ~/.emacs
> put the comtents of init.el into ~/.emacs including the
> --dynamic-space-size 3072 option.
> new emacs, M-x slime, evaluate as above .. returns 1
>
> On 2026-02-02 22:17, Stas Boukarev wrote:
> > You literally have your setq commented out here:
> >
> > ;(setq inferior-lisp-program "sbcl --dynamic-space-size 3072")
> > (setq inferior-lisp-program "sbcl")
> >
> > On Tue, Feb 3, 2026 at 6:15=E2=80=AFAM Greg Bennett <gwbennett997@gmail=
.com>
> wrote:
> >> I regard all code to do with setting up emacs with suspicion.
> >>
> >> I think I have noted before that either of the (setq ..) forms
> >> leaves me with sbcl with 1G of dynamic space has me wonder whether
> >> (a) the init.el file is read but the --dynamic-space-size option is no=
t
> >> processed, or
> >> (b) the state of emacs is set earlier, possibly in inf-lisp.el where t=
he
> >> variable inferior-lisp-program seems
> >> to be defined, so that init.el is ignored completely, or
> >> (c) something else entirely.
> >>
> >> (a) seems unlikely, but I am willing to believe it to be possible.
> >>
> >> (b) means that I have no idea how to have init.el take precedence.
> >>
> >> (c) means that I am further out to sea than I have any way to realize.
> >>
> >> On 2026-02-02 18:15, Stas Boukarev wrote:
> >>> Doesn't that output look suspicious to you?
> >>>
> >>> On Tue, Feb 3, 2026 at 2:11=E2=80=AFAM Greg Bennett <gwbennett997@gma=
il.com>
> wrote:
> >>>> I did not configure emacs to use sublime text. I simply use ST as an
> >>>> editor for files which emacs/sbcl
> >>>> works on. emacs gives me a nice interface to compiler messages, erro=
r
> >>>> messages.
> >>>> Typically I write a log file of a compile and examine that for thing=
s
> I
> >>>> need to do.
> >>>>
> >>>> gwbennett@Xenophon:~$ cat ~/.emacs.d/init.el
> >>>> (load (expand-file-name "~/quicklisp/slime-helper.el"))
> >>>> ;(setq inferior-lisp-program "sbcl --dynamic-space-size 3072")
> >>>> (setq inferior-lisp-program "sbcl")
> >>>> gwbennett@Xenophon:~$
> >>>>
> >>>>
> >>>> On 2026-02-02 17:56, Stas Boukarev wrote:
> >>>>>> I edit using sublime-text.
> >>>>> That's an interesting way of configuring emacs.
> >>>>> Have you confirmed by other means the contents of the file? Like ca=
t,
> >>>>> or, you know, emacs?
> >>>>>
> >>>>> On Tue, Feb 3, 2026 at 1:53=E2=80=AFAM Greg Bennett <gwbennett997@g=
mail.com>
> wrote:
> >>>>>> ~/.emacs.d/init.el exists, ~/.emacs.d/init.elc does not exist
> >>>>>>
> >>>>>> In a new sbcl (probe-file "~/.emacs.d/init.el") returns
> >>>>>> #P"/home/gwbennett/.emacs.d/init.el"
> >>>>>> In a new emacs+sbcl the same result
> >>>>>>
> >>>>>> C-h v user-init-file returns
> >>>>>>
> >>>>>> user-init-file is a variable defined in =E2=80=98C source code=E2=
=80=99.
> >>>>>>
> >>>>>> Its value is "/home/gwbennett/.emacs.d/init.el"
> >>>>>>
> >>>>>> Yes, after each try I restart emacs.   which emacs returns
> /usr/bin/emacs
> >>>>>>
> >>>>>> There is only this laptop as host, I edit using sublime-text.
> >>>>>>
> >>>>>> emacs is launched on this laptop where init.el also lives as does
> sbcl,
> >>>>>> quickliso, and the source for the
> >>>>>> project I am working on.
> >>>>>>
> >>>>>> On 2026-02-02 17:21, Stas Boukarev wrote:
> >>>>>>> There are many possibilities. Does ~/.emacs.d/init.elc exist?
> >>>>>>> Did you restart emacs? Are you editing the file on the right host=
?
> Is
> >>>>>>> the emacs you're launching on the same host where your file is
> >>>>>>> located?
> >>>>>>>
> >>>>>>> On Tue, Feb 3, 2026 at 1:04=E2=80=AFAM Greg Bennett <gwbennett@se=
ntex.ca>
> wrote:
> >>>>>>>> The compile got a bit further until
> >>>>>>>>
> >>>>>>>> ; fatal error encountered in SBCL pid 1607785 tid 1607785:
> >>>>>>>> ;  Control stack exhausted while pseudo-atomic, fault:
> 0x745bdbdbffb8,
> >>>>>>>> PC: 0xb80000059c
> >>>>>>>>
> >>>>>>>> which surely qualifies as mangling things badly.
> >>>>>>>> Back to the drawing-board of the code where this breaks.
> >>>>>>>>
> >>>>>>>> Thanks for your time and effort.
> >>>>>>>>
> >>>>>>>> On 2026-02-02 16:50, Stas Boukarev wrote:
> >>>>>>>>> Except it does nothing, or even mangles everything badly.
> >>>>>>>>>
> >>>>>>>>> On Tue, Feb 3, 2026 at 12:46=E2=80=AFAM Greg Bennett <
> [email protected]> wrote:
> >>>>>>>>>> I opted for the addition to .sbclrc at the end of your email
> Andre'.
> >>>>>>>>>> Opened emacs, M-x slime -> an sbcl cl-user prompt and
> >>>>>>>>>>
> >>>>>>>>>> (/ (dynamic-space-size) (expt 1024 3))  returned  3 this time.
> >>>>>>>>>>
> >>>>>>>>>> This route the works gracefully, for which I am thankful.
> >>>>>>>>>> Thanks to you and Stas for the time you put into this for me.
> >>>>>>>>>>
> >>>>>>>>>> Greg
> >>>>>>>>>>
> >>>>>>>>>> On 2026-02-02 13:02, Andr=C3=A9 A. Gomes wrote:
> >>>>>>>>>>> Greg Bennett <[email protected]> writes:
> >>>>>>>>>>>
> >>>>>>>>>>>> Thanks for this Andre'.   emacs tells me
> >>>>>>>>>>>>
> >>>>>>>>>>>> user-init-file is a variable defined in =E2=80=98C source co=
de=E2=80=99.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Its value is "/home/gwbennett/.emacs.d/init.el"
> >>>>>>>>>>>>
> >>>>>>>>>>>> Here are its current contents:
> >>>>>>>>>>>> (load (expand-file-name "~/quicklisp/slime-helper.el"))
> >>>>>>>>>>>> (setq inferior-lisp-program "sbcl --dynamic-space-size 3072"=
)
> >>>>>>>>>>>>
> >>>>>>>>>>>> Starting emacs and evaluating (/ (dynamic-space-size) (expt
> 1024 3)) returns 1
> >>>>>>>>>>>> rather than 3
> >>>>>>>>>>> Perhaps the issue is inferior-lisp-program doesn't handle CLI
> options
> >>>>>>>>>>> gracefully.
> >>>>>>>>>>>
> >>>>>>>>>>> Try setting slime-lisp-implementations as below:
> >>>>>>>>>>>
> >>>>>>>>>>> (setq slime-lisp-implementations `((my-sbcl ("sbcl"
> "--dynamic-space-size" "3072"))))
> >>>>>>>>>>>
> >>>>>>>>>>> Then you should be able to choose the my-sbcl implementation
> when
> >>>>>>>>>>> issuing the slime command from Emacs.  The command may requir=
e
> a prefix
> >>>>>>>>>>> arg, I can't be precise since I use SLY instead of Slime (jus=
t
> use
> >>>>>>>>>>> Emacs' describe-symbol command to inspect the slime command).
> >>>>>>>>>>>
> >>>>>>>>>>> By the way, another way to achieve this goal is to add the
> following to
> >>>>>>>>>>> your .sbclrc file.
> >>>>>>>>>>>
> >>>>>>>>>>> --8<---------------cut
> here---------------start------------->8---
> >>>>>>>>>>> ;; An alternative to starting sbcl via sbcl
> --dynamic-space-size <megabytes>.
> >>>>>>>>>>>
> >>>>>>>>>>> (sb-alien:define-alien-variable
> >>>>>>>>>>>           ("dynamic_space_size" *sbcl%dynamic-space-size*)
> >>>>>>>>>>>         sb-alien:unsigned)
> >>>>>>>>>>>
> >>>>>>>>>>> (defconstant +MB+ (expt 1024 2))
> >>>>>>>>>>>
> >>>>>>>>>>> (setf *sbcl%dynamic-space-size* (* 3072 +MB+))
> >>>>>>>>>>> --8<---------------cut
> here---------------end--------------->8---
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>> _______________________________________________
> >>>>>>>>>> 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
> >>>>>>>>>
> >>>>>>>> _______________________________________________
> >>>>>>>> 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
> >>>>>> _______________________________________________
> >>>>>> 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
>

--0000000000003ccb6f0649ef8e2e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div>Did you remove or uncomment the thir=
d line at the same time, the one setting=C2=A0inferior-lisp-program to &quo=
t;sbcl&quot;? Otherwise the value of the variable will be set to &quot;sbcl=
&quot; immediately after being set to=C2=A0&quot;sbcl --dynamic-space-size =
3072&quot;, making the previous line irrelevant.</div><div><br></div><div><=
span class=3D"gmail-im">
(load (expand-file-name &quot;~/quicklisp/slime-helper.el&quot;))<br>
(setq inferior-lisp-program &quot;sbcl --dynamic-space-size 3072&quot;)<br>=
</span>
; (setq inferior-lisp-program &quot;sbcl&quot;)=C2=A0 &lt;-- this line shou=
ld be commented out or removed</div><div><br></div></div><div><br></div><di=
v class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gma=
il_attr">On Tue, 3 Feb 2026 at 16:16, Greg Bennett &lt;<a href=3D"mailto:gw=
[email protected]">[email protected]</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex">That&#39;s because I had switch=
ed back to a configuration which I know <br>
compiles without complaint.<br>
Sorry for the confusion.<br>
<br>
I have just enabled the setq with the --dynamic-space-size 3072 option, <br=
>
opened a new emacs, M-x slime<br>
to get an sbcl, evaluated<br>
=C2=A0=C2=A0(/ (dynamic-space-size) (expt 1024 3)) which returns 1<br>
<br>
Closed all that. In a terminal executed<br>
sbcl --dynamic-space-size 3072<br>
and in the new sbcl evaluated<br>
=C2=A0=C2=A0(/ (dynamic-space-size) (expt 1024 3)) which returns 3<br>
<br>
Am I back to (b) .. the init.el is not being read and values are being <br>
set earlier somewhere ?<br>
<br>
I tried this, for completeness:<br>
rename .init.el as old.init.el<br>
create file ~/.emacs<br>
put the comtents of init.el into ~/.emacs including the <br>
--dynamic-space-size 3072 option.<br>
new emacs, M-x slime, evaluate as above .. returns 1<br>
<br>
On 2026-02-02 22:17, Stas Boukarev wrote:<br>
&gt; You literally have your setq commented out here:<br>
&gt;<br>
&gt; ;(setq inferior-lisp-program &quot;sbcl --dynamic-space-size 3072&quot=
;)<br>
&gt; (setq inferior-lisp-program &quot;sbcl&quot;)<br>
&gt;<br>
&gt; On Tue, Feb 3, 2026 at 6:15=E2=80=AFAM Greg Bennett &lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]</a>&gt=
; wrote:<br>
&gt;&gt; I regard all code to do with setting up emacs with suspicion.<br>
&gt;&gt;<br>
&gt;&gt; I think I have noted before that either of the (setq ..) forms<br>
&gt;&gt; leaves me with sbcl with 1G of dynamic space has me wonder whether=
<br>
&gt;&gt; (a) the init.el file is read but the --dynamic-space-size option i=
s not<br>
&gt;&gt; processed, or<br>
&gt;&gt; (b) the state of emacs is set earlier, possibly in inf-lisp.el whe=
re the<br>
&gt;&gt; variable inferior-lisp-program seems<br>
&gt;&gt; to be defined, so that init.el is ignored completely, or<br>
&gt;&gt; (c) something else entirely.<br>
&gt;&gt;<br>
&gt;&gt; (a) seems unlikely, but I am willing to believe it to be possible.=
<br>
&gt;&gt;<br>
&gt;&gt; (b) means that I have no idea how to have init.el take precedence.=
<br>
&gt;&gt;<br>
&gt;&gt; (c) means that I am further out to sea than I have any way to real=
ize.<br>
&gt;&gt;<br>
&gt;&gt; On 2026-02-02 18:15, Stas Boukarev wrote:<br>
&gt;&gt;&gt; Doesn&#39;t that output look suspicious to you?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Tue, Feb 3, 2026 at 2:11=E2=80=AFAM Greg Bennett &lt;<a hre=
f=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
m</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; I did not configure emacs to use sublime text. I simply us=
e ST as an<br>
&gt;&gt;&gt;&gt; editor for files which emacs/sbcl<br>
&gt;&gt;&gt;&gt; works on. emacs gives me a nice interface to compiler mess=
ages, error<br>
&gt;&gt;&gt;&gt; messages.<br>
&gt;&gt;&gt;&gt; Typically I write a log file of a compile and examine that=
 for things I<br>
&gt;&gt;&gt;&gt; need to do.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; gwbennett@Xenophon:~$ cat ~/.emacs.d/init.el<br>
&gt;&gt;&gt;&gt; (load (expand-file-name &quot;~/quicklisp/slime-helper.el&=
quot;))<br>
&gt;&gt;&gt;&gt; ;(setq inferior-lisp-program &quot;sbcl --dynamic-space-si=
ze 3072&quot;)<br>
&gt;&gt;&gt;&gt; (setq inferior-lisp-program &quot;sbcl&quot;)<br>
&gt;&gt;&gt;&gt; gwbennett@Xenophon:~$<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 2026-02-02 17:56, Stas Boukarev wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; I edit using sublime-text.<br>
&gt;&gt;&gt;&gt;&gt; That&#39;s an interesting way of configuring emacs.<br=
>
&gt;&gt;&gt;&gt;&gt; Have you confirmed by other means the contents of the =
file? Like cat,<br>
&gt;&gt;&gt;&gt;&gt; or, you know, emacs?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Tue, Feb 3, 2026 at 1:53=E2=80=AFAM Greg Bennett &l=
t;<a href=3D"mailto:[email protected]" target=3D"_blank">gwbennett997@=
gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; ~/.emacs.d/init.el exists, ~/.emacs.d/init.elc doe=
s not exist<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; In a new sbcl (probe-file &quot;~/.emacs.d/init.el=
&quot;) returns<br>
&gt;&gt;&gt;&gt;&gt;&gt; #P&quot;/home/gwbennett/.emacs.d/init.el&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt; In a new emacs+sbcl the same result<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; C-h v user-init-file returns<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; user-init-file is a variable defined in =E2=80=98C=
 source code=E2=80=99.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Its value is &quot;/home/gwbennett/.emacs.d/init.e=
l&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Yes, after each try I restart emacs.=C2=A0 =C2=A0w=
hich emacs returns /usr/bin/emacs<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; There is only this laptop as host, I edit using su=
blime-text.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; emacs is launched on this laptop where init.el als=
o lives as does sbcl,<br>
&gt;&gt;&gt;&gt;&gt;&gt; quickliso, and the source for the<br>
&gt;&gt;&gt;&gt;&gt;&gt; project I am working on.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On 2026-02-02 17:21, Stas Boukarev wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; There are many possibilities. Does ~/.emacs.d/=
init.elc exist?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Did you restart emacs? Are you editing the fil=
e on the right host? Is<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the emacs you&#39;re launching on the same hos=
t where your file is<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; located?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Tue, Feb 3, 2026 at 1:04=E2=80=AFAM Greg Be=
nnett &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">gwbennet=
[email protected]</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The compile got a bit further until<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ; fatal error encountered in SBCL pid 1607=
785 tid 1607785:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ;=C2=A0 Control stack exhausted while pseu=
do-atomic, fault: 0x745bdbdbffb8,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; PC: 0xb80000059c<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; which surely qualifies as mangling things =
badly.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Back to the drawing-board of the code wher=
e this breaks.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thanks for your time and effort.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 2026-02-02 16:50, Stas Boukarev wrote:<=
br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Except it does nothing, or even mangle=
s everything badly.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Tue, Feb 3, 2026 at 12:46=E2=80=AFA=
M Greg Bennett &lt;<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I opted for the addition to .sbclr=
c at the end of your email Andre&#39;.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Opened emacs, M-x slime -&gt; an s=
bcl cl-user prompt and<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (/ (dynamic-space-size) (expt 1024=
 3))=C2=A0 returned=C2=A0 3 this time.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; This route the works gracefully, f=
or which I am thankful.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thanks to you and Stas for the tim=
e you put into this for me.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Greg<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 2026-02-02 13:02, Andr=C3=A9 A.=
 Gomes wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Greg Bennett &lt;<a href=3D"ma=
ilto:[email protected]" target=3D"_blank">[email protected]</a>&g=
t; writes:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thanks for this Andre&#39;=
.=C2=A0 =C2=A0emacs tells me<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; user-init-file is a variab=
le defined in =E2=80=98C source code=E2=80=99.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Its value is &quot;/home/g=
wbennett/.emacs.d/init.el&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Here are its current conte=
nts:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (load (expand-file-name &q=
uot;~/quicklisp/slime-helper.el&quot;))<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (setq inferior-lisp-progra=
m &quot;sbcl --dynamic-space-size 3072&quot;)<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Starting emacs and evaluat=
ing (/ (dynamic-space-size) (expt 1024 3)) returns 1<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; rather than 3<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Perhaps the issue is inferior-=
lisp-program doesn&#39;t handle CLI options<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; gracefully.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Try setting slime-lisp-impleme=
ntations as below:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (setq slime-lisp-implementatio=
ns `((my-sbcl (&quot;sbcl&quot; &quot;--dynamic-space-size&quot; &quot;3072=
&quot;))))<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Then you should be able to cho=
ose the my-sbcl implementation when<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; issuing the slime command from=
 Emacs.=C2=A0 The command may require a prefix<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; arg, I can&#39;t be precise si=
nce I use SLY instead of Slime (just use<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Emacs&#39; describe-symbol com=
mand to inspect the slime command).<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; By the way, another way to ach=
ieve this goal is to add the following to<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; your .sbclrc file.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --8&lt;---------------cut here=
---------------start-------------&gt;8---<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ;; An alternative to starting =
sbcl via sbcl --dynamic-space-size &lt;megabytes&gt;.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (sb-alien:define-alien-variabl=
e<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0(&quot;dynamic_space_size&quot; *sbcl%dynamic-space-size*)<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0sb-alien:unsigned)<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (defconstant +MB+ (expt 1024 2=
))<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (setf *sbcl%dynamic-space-size=
* (* 3072 +MB+))<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --8&lt;---------------cut here=
---------------end---------------&gt;8---<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; __________________________________=
_____________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sbcl-help mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:Sbcl-help@lists.=
sourceforge.net" target=3D"_blank">[email protected]</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://lists.sourcefor=
ge.net/lists/listinfo/sbcl-help" rel=3D"noreferrer" target=3D"_blank">https=
://lists.sourceforge.net/lists/listinfo/sbcl-help</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ______________________________________=
_________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sbcl-help mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:[email protected]=
ceforge.net" target=3D"_blank">[email protected]</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://lists.sourceforge.n=
et/lists/listinfo/sbcl-help" rel=3D"noreferrer" target=3D"_blank">https://l=
ists.sourceforge.net/lists/listinfo/sbcl-help</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; __________________________________________=
_____<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sbcl-help mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:[email protected]=
rge.net" target=3D"_blank">[email protected]</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://lists.sourceforge.net/l=
ists/listinfo/sbcl-help" rel=3D"noreferrer" target=3D"_blank">https://lists=
.sourceforge.net/lists/listinfo/sbcl-help</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ______________________________________________=
_<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sbcl-help mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:[email protected].=
net" target=3D"_blank">[email protected]</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://lists.sourceforge.net/lists=
/listinfo/sbcl-help" rel=3D"noreferrer" target=3D"_blank">https://lists.sou=
rceforge.net/lists/listinfo/sbcl-help</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br=
>
&gt;&gt;&gt;&gt;&gt;&gt; Sbcl-help mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:[email protected]"=
 target=3D"_blank">[email protected]</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://lists.sourceforge.net/lists/lis=
tinfo/sbcl-help" rel=3D"noreferrer" target=3D"_blank">https://lists.sourcef=
orge.net/lists/listinfo/sbcl-help</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Sbcl-help mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Sbcl-h=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/sbcl-help" rel=3D"n=
oreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/s=
bcl-help</a><br>
</blockquote></div></div>

--0000000000003ccb6f0649ef8e2e--


--===============5303054068074303499==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============5303054068074303499==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help

--===============5303054068074303499==--