Skip to content

Docker image of v3 doesn't set the dynamic space size properly #1771

Description

@RemiDesgrange

Hi,

I tried to use v3.6.10, compiled from source in docker:

git clone https://github.com/dimitri/pgloader.git && cd pgloader
# docker build fail on tag v3.6.10 due to debian resolution failing in apt install, but that's not the bug here :-)
docker build -t pgloader-local:3.6.10 .
cat > /tmp/dyn.lisp <<'EOF'
(format t "~&dynamic-space-size = ~D bytes (~D MB)~%"
        (sb-ext:dynamic-space-size)
        (floor (sb-ext:dynamic-space-size) (* 1024 1024)))
(sb-ext:quit)
EOF
docker run --rm -v /tmp/dyn.lisp:/tmp/dyn.lisp pgloader-local:3.6.10  pgloader --load-lisp-file /tmp/dyn.lisp --dry-run /dev/null
Loading code from #P"/tmp/dyn.lisp"
dynamic-space-size = 1073741824 bytes (1024 MB)

I must admit that I'm not fluent in Lisp, so the little Lisp program has been written by Claude; it seems valid to me, but I must admit that I did not write it.

Thx.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions