通过Emacs启动时如何配置SBCL以使用更多RAM?

编程入门 行业动态 更新时间:2024-10-13 12:18:35
本文介绍了通过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?

本文发布于:2023-11-25 15:09:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1630238.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:启动时   更多   Emacs   RAM   SBCL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!