[slime-devel] setting heap size for SBCL for use with SLIME

Faheem Mitha faheem at faheem.info
Sun Jun 3 18:07:28 UTC 2012



On Sun, 3 Jun 2012, Helmut Eller wrote:

> The following message is a courtesy copy of an article
> that has been posted to gmane.lisp.slime.devel as well.

> * Faheem Mitha [2012-06-03 11:54] writes:

>> Hmm. it returns

>> (("sbcl" ("sbcl")) ("clisp" ("clisp")) ("ecl" ("ecl")) ("cmucl" ("cmucl")))

>> What does this mean?

> The variable is documented here 
> http://common-lisp.net/project/slime/doc/html/Multiple-Lisps.htm. or 
> just use M-x describe-variable.

> If you just want to set the heap size put this in your .emacs:
> (setq slime-lisp-implementations
>      '((sbcl ("sbcl" "--dynamic-space-size" "1024"))))

> If you want to figure out who or what sets it's to the value it has, 
> also check /etc/emacs/site-lisp/ or /usr/share/emacs/site-lisp/

Hi Helmut,

Thanks very much for your helpful answers. I tried this out and it worked, 
though I used

(setq slime-lisp-implementations '(("sbcl" ("sbcl" "--dynamic-space-size" 
"1024")) ("clisp" ("clisp")) ("ecl" ("ecl")) ("cmucl" ("cmucl"))))

instead. I also added an answer to 
http://stackoverflow.com/questions/7181183/how-to-configure-sbcl-to-use-more-ram-when-started-through-emacs

I quoted from you and Dirk Sondermann. I hope that's Ok.

                                         Regards, Faheem




More information about the slime-devel mailing list