-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--dynamic-space-size handling on SBCL is broken #36
Comments
OK, I have verified the problem and here's what I did: I replaced the command line parsing clause as follows:
and changed my command line to
and that gets the argument passed through:
I'm not sure how to fix this problem. Renaming the argument as I did is inelegant but works. It would be nicer if we could keep SBCL from snarfing up that argument. I suppose it's possible that ensuring that argument appears at the end would cause SBCL to not recognize it as a toplevel argument and pass it through. But that seems like a very brittle fix. |
Would love to see a resolution on this is causing an issue for dependents like pgloader. see here dimitri/pgloader#962 |
@PaulLockett -- I have made a pull request for my proposed fix, which you could use for the present (you could just clone my repo instead of this one). |
@rpgoldman hopefully your solution gets merged. I ended up just building SBCL locally from source and setting the default to a higher value. |
I was having trouble with an application I built with this command line:
When I ran the resulting application, it ran out of memory quickly. But when I ran sbcl with
--dynamic-space-size 100000
and passed it a script that did the equivalent, it did not run out of memory.Tracking it down, I found that
run-program
for SBCL, invoked inmain
was not getting the--dynamic-space-size 100000
argument:Further debugging shows that
buildapp
does not see the--dynamic-space-size
argument:The "constructing a dumper" message above formats the arguments that are passed to
command-line-dumper
.I conjecture that SBCL is stripping out this argument before the buildapp executable can see it.
I will attempt to verify this.
The text was updated successfully, but these errors were encountered: