Skip to content

Commit dac3425

Browse files
committed
Determine the sbcl heap size based on the architecture.
1 parent f13e2d0 commit dac3425

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

start.sh-core

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
#!/bin/bash
2+
23
cd `dirname $0`
4+
5+
if file -L ./sbcl-runtime | grep -q x86-64; then
6+
HEAP_SIZE=3000
7+
else
8+
HEAP_SIZE=1500
9+
fi
10+
311
exec ./sbcl-runtime \
4-
--dynamic-space-size 1500 \
12+
--dynamic-space-size $HEAP_SIZE \
513
--no-sysinit --no-userinit \
614
--eval '(pushnew "cl-linux-debug/" asdf:*central-registry*)' \
715
"$@"

0 commit comments

Comments
 (0)