Common lisp 我的linux VPS上无用的SBCL:确保_空间:分配n字节失败

Common lisp 我的linux VPS上无用的SBCL:确保_空间:分配n字节失败,common-lisp,sbcl,Common Lisp,Sbcl,我无法在我的VPS上运行SBCL: mmap: wanted 1040384 bytes at 0x20000000, actually mapped at 0x715fa2145000 ensure_space: failed to allocate 1040384 bytes at 0x20000000 (hint: Try "ulimit -a"; maybe you should increase memory limits.) 搜索给了我: =>使用sbcl——动态空间大小880也

我无法在我的VPS上运行SBCL:

mmap: wanted 1040384 bytes at 0x20000000, actually mapped at 0x715fa2145000
ensure_space: failed to allocate 1040384 bytes at 0x20000000
(hint: Try "ulimit -a"; maybe you should increase memory limits.)
搜索给了我:

  • =>使用
    sbcl——动态空间大小880
    也不起作用
  • =>OP将其交换放大到20Go。疯子他们说它在SBCL 1.1中是固定的
我有510MB的可用交换空间,3GB的可用RAM

更新
SBCL 1.2.4.debian
,debian 8.2

这个问题有解决办法吗

顺便问一下,您如何部署lisp应用程序

谢谢


ps:我不能使用Roswell安装其他实现(它基于SBCL)。解决方法是使用CCL()或Docker()。

一种解决方案是在VPS上全局禁用ASLR:

sudo bash -c "echo 0 > /proc/sys/kernel/randomize_va_space"

之后,SBCL应该可以正常运行。

您要运行哪个版本的SBCL?您使用的是哪个GNU/Linux发行版和版本?当然……sbcl 1.2.4,Debian 8.2。我会添加它是一个服务器。您可以尝试Debian testing@siehe falz的版本,谢谢,但这没有帮助。