Re: help with dynamic-space-size
Stas Boukarev <[email protected]> Mon, 2 Feb 2026 18:14:55 +0300
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <CAF63=10N9chGMmygDmdHzmUeYXBta0=DcXE4D0+QNxhQtxr_bQ@mail.gmail.com> |
Try C-h v inferior-lisp-program On Mon, Feb 2, 2026 at 6:14 PM Greg Bennett <[email protected]> wrote: > > Thanks for this and pardon my ignorance. I don't know how to make sure > *that* particular command has been executed. > > From the fact that M-x slime leaves me in sbcl-2.5.10, I assumed that > the sbcl bit was executed. > From the fact that (dynamic-space-size) returns 1024^3 rather than 3 > times that, I assumed that the option > was not executed. Perhaps the entire command was not executed and then I > don't know why I wound up in > sbcl, but that's my problem. > > On 2026-02-01 21:35, Stas Boukarev wrote: > > Make sure (setq inferior-lisp-program "sbcl --dynamic-space-size > > 3072") has actually been executed. > > > > On Mon, Feb 2, 2026 at 4:57 AM Greg Bennett <[email protected]> wrote: > >> Running sbcl-2.5.10 with emacs 29.3, under linux mint 22.2. > >> > >> I need to increase the size of the heap to (try to avoid) a Heap > >> exhausted error. > >> > >> If I open sbcl in a terminal with sbcl --dynamic-space-size 3072 > >> > >> and then evaluate (/ (dynamic-space-size) (expt 1024 3)), I get 3 as the > >> (expected) value. > >> > >> My .emacs.d/init.el contains just these 2 lines: > >> > >> (load (expand-file-name "~/quicklisp/slime-helper.el")) > >> (setq inferior-lisp-program "sbcl --dynamic-space-size 3072") > >> > >> There is no .emacs file. > >> > >> Starting emacs and then issuing M-x slime gets me a cl-user prompt. > >> (lisp-implementation-type) and (lisp-implementation-version) return the > >> expected values > >> > >> (/ (dynamic-space-size) (expt 1024 3)) returns 1, just as it does with > >> (setq inferior-lisp-program "sbcl") > >> > >> I should like to know how the set dynamic-space-size in my > >> initialization within emacs. > >> > >> Thanks for any advice/assistance > >> > >> Greg Bennett > >> > >> > >> _______________________________________________ > >> 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