通过Emacs启动时如何配置SBCL以使用更多RAM? [英] How to Configure SBCL to Use More RAM When Started Through Emacs?

查看:90
本文介绍了通过Emacs启动时如何配置SBCL以使用更多RAM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何配置SBCL,以使其在Emacs中使用 Mx粘液启动时比默认使用更多的内存?

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?

从网上看到的答案似乎是调用SBCL,并传递了参数 --dynamic-space-size< MB中的size>。由于我没有直接调用SBCL,所以我不知道如何传递参数。

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.

我在Windows 7上使用GNU Emacs 22.3.1和SBCL 1.0.48。我也没有配置的经验,因此对新手的介绍会有所帮助。

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.

推荐答案

通常的方法是设置要执行的命令的变量 inferior-lisp-program ,包括要提供的所有选项。现在没有emacs,但这可能就足够了:

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:

(setq inferior-lisp-program "sbcl --dynamic-space-size 1024")

这篇关于通过Emacs启动时如何配置SBCL以使用更多RAM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆