How can I configure SBCL so that it uses more memory than the default when I start it by using "M-x slime" in Emacs?
From what I've seen online, the answer appears to be to call SBCL, passing the argument "--dynamic-space-size <size in MB>". Since I do not call SBCL directly, I do not know how to pass it arguments.
I am using GNU Emacs 22.3.1 and SBCL 1.0.48 on Windows 7. I have no experience configuring either, so a novice's introduction would be appreciated.
I'm using SLIME 1:20120420-2 on Debian squeeze. The answer by Kilian Foth does not work as of this version. I wrote to slime-devel and was told
So, if one wants to check what the value of
slime-lisp-implementations
isAs it turns out, the value of
slime-lisp-implementations
for me wasSo, I put the following in my
~/.emacs
With regards to where this was set
In this version of SLIME,
slime-lisp-implementations
is set in/usr/share/emacs/site-lisp/slime/slime.el
.For documentation of
slime-lisp-implementations
, see the Slime Manual: 2.5.2 Multiple Lispsor use M-x describe-variable.
All quotes above are from the thread setting heap size for SBCL for use with SLIME on slime-devel.
The usual way is to set the value of the variable
inferior-lisp-program
to the command you want executed, including any options you want to give. Don't have an emacs on me right now, but this might be enough: