dimitri / dimitri/pgloader

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

Open
#1,771 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Common Lisp
Stars
6.5k
Forks
613
Avg merge
3h 46m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported result by building the repository's Docker image from tag v3.6.10 and running the supplied /tmp/dyn.lisp check. Read the Docker image build configuration and how the pgloader command starts SBCL, then identify the intended dynamic-space-size setting. Done means the image reports the corrected dynamic space size while retaining the existing command behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.