Re: help with dynamic-space-size

Stas Boukarev <[email protected]> Mon, 2 Feb 2026 05:35:54 +0300
Newsgroups gmane.lisp.steel-bank.general
Message-ID <CAF63=10JDocw74iF=K8oXE9pctCkO2x1DRxS3uF6U7a=iUkiMg@mail.gmail.com>
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