-
Notifications
You must be signed in to change notification settings - Fork 393
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
Bad maximum heap size on large initial heap #608
Comments
I can't reproduce it on master (Linux, 64-bit).
|
Strange. I am suspecting that this may be related to WSL2. I am trying a genuine linux installation. |
I think the root cause of this is that GC_MAXIMUM_HEAP_SIZE environment variable is defined somewhere else to a value which is smaller than GC_INITIAL_HEAP_SIZE, thus you are getting a warning that the initial size value is greater than the maximum one. |
"Can't start up: not enough memory" means libgc can't allocate the amount of memory given in GC_INITIAL_HEAP_SIZE. |
In an attempt to work around issue #604, running libgc complied program with
env GC_INITIAL_HEAP_SIZE=100G
results in the following error on the latest master.The text was updated successfully, but these errors were encountered: