From b24eba972d264b8763943a88ac5e76d6a487c95a Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Wed, 27 Jul 2022 17:27:31 +0200 Subject: [PATCH] Set SBCL dynamic space size to 16 GB on 64 bit architectures. --- Dockerfile | 2 +- Makefile | 4 ++-- bundle/Makefile | 2 +- debian/changelog | 6 ++++++ debian/rules | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9d9bd0e..ec636e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ FROM debian:stable-slim as builder COPY ./ /opt/src/pgloader -ARG DYNSIZE=4096 +ARG DYNSIZE=16384 RUN mkdir -p /opt/src/pgloader/build/bin \ && cd /opt/src/pgloader \ diff --git a/Makefile b/Makefile index a2a4a5d..55a8fd0 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ VERSION = 3.6.6 # use either sbcl or ccl CL = sbcl -# default to 4096 MB of RAM size in the image -DYNSIZE = 4096 +# default to 16 GB of RAM size in the image +DYNSIZE = 16384 LISP_SRC = $(wildcard src/*lisp) \ $(wildcard src/monkey/*lisp) \ diff --git a/bundle/Makefile b/bundle/Makefile index fbeae71..630c554 100644 --- a/bundle/Makefile +++ b/bundle/Makefile @@ -10,7 +10,7 @@ EXE = .exe COMPRESS_CORE = no DYNSIZE = 1024 # support for windows 32 bits else -DYNSIZE = 4096 +DYNSIZE = 16384 EXE = endif diff --git a/debian/changelog b/debian/changelog index 746be62..4add0c1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pgloader (3.6.6-2) UNRELEASED; urgency=medium + + * Set SBCL dynamic space size to 16 GB on 64 bit architectures. + + -- Christoph Berg Mon, 11 Jul 2022 15:31:49 +0200 + pgloader (3.6.6-1) unstable; urgency=medium * New upstream version. diff --git a/debian/rules b/debian/rules index 9397f43..048f8e4 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,7 @@ BITS = $(shell dpkg-architecture -qDEB_BUILD_ARCH_BITS) ifeq ($(BITS),32) SIZE=1024 else -SIZE=4096 +SIZE=16384 endif # buildd provides a build environment where $HOME is not writable, but the