From 41fd50841c3198c5efe5d21a182c02a1bec9ebf7 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Sat, 14 Dec 2024 08:15:25 +0000 Subject: [PATCH] Now DYNAMIC_SPACE_SIZE env variable can be used to control amount of memory available to SBCL, by default it is 1Gb. --- docs/changelog.lisp | 4 ++++ roswell/40ants-linter.ros | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/changelog.lisp b/docs/changelog.lisp index 1a5b20c..b2f7928 100644 --- a/docs/changelog.lisp +++ b/docs/changelog.lisp @@ -8,7 +8,11 @@ (defchangelog (:ignore-words ("SLY" "ASDF" "REPL" + "SBCL" + "DYNAMIC_SPACE_SIZE" "HTTP")) + (0.4.0 2024-12-14 + "* Now DYNAMIC_SPACE_SIZE env variable can be used to control amount of memory available to SBCL, by default it is 1Gb.") (0.3.0 2023-12-01 "* Fixed issue when package was mentioned as unused whereas it was used inside a backquoted part of the macro.") (0.2.0 2023-11-19 diff --git a/roswell/40ants-linter.ros b/roswell/40ants-linter.ros index 347ff51..9b5f6cf 100755 --- a/roswell/40ants-linter.ros +++ b/roswell/40ants-linter.ros @@ -1,7 +1,8 @@ #!/bin/sh #|-*- mode:lisp -*-|# #| -exec ros -Q -- $0 "$@" +DYNAMIC_SPACE_SIZE=${DYNAMIC_SPACE_SIZE:-1Gb} +exec ros dynamic-space-size=$DYNAMIC_SPACE_SIZE -Q -- $0 "$@" |# (progn ;;init forms (ros:ensure-asdf)