-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Basic first-run installation tasks fail on Ubuntu 18.04 with 16 GB of memory, 7GB free #556
Comments
In the reddit thread someone mentioned that the free memory requirement for building polyglot images is approximately 10 Gb. |
Closed as outdated. |
jerboaa
added a commit
to jerboaa/graal
that referenced
this issue
Sep 1, 2023
First, we use a separate accessor for page-alignedness as it doesn't need the more sophisticated initialization of the directMemory field. Next, ensure PhysicalMemory initialization is serialized and when it is, set directMemory to a static value so that the container code can finish initialization without introducing a cyle. The final directMemory value based on the heap size is then published to JDK code by setting the VM init level to 1. Therefore, application code would use the non-static value as the upper bound. Closes: oracle#556
jerboaa
added a commit
to jerboaa/graal
that referenced
this issue
Sep 4, 2023
First, we use a separate accessor for page-alignedness as it doesn't need the more sophisticated initialization of the directMemory field. Next, ensure PhysicalMemory initialization is serialized and when it is, set directMemory to a static value so that the container code can finish initialization without introducing a cyle. The final directMemory value based on the heap size is then published to JDK code by setting the VM init level to 1. Therefore, application code would use the non-static value as the upper bound. Closes: oracle#556
jerboaa
added a commit
to jerboaa/graal
that referenced
this issue
Sep 13, 2023
First, we use a separate accessor for page-alignedness as it doesn't need the more sophisticated initialization of the directMemory field. Next, ensure PhysicalMemory initialization is serialized and when it is, set directMemory to a static value so that the container code can finish initialization without introducing a cyle. The final directMemory value based on the heap size is then published to JDK code by setting the VM init level to 1. Therefore, application code would use the non-static value as the upper bound. Closes: oracle#556
zakkak
pushed a commit
to zakkak/mandrel
that referenced
this issue
Sep 14, 2023
First, we use a separate accessor for page-alignedness as it doesn't need the more sophisticated initialization of the directMemory field. Next, ensure PhysicalMemory initialization is serialized and when it is, set directMemory to a static value so that the container code can finish initialization without introducing a cyle. The final directMemory value based on the heap size is then published to JDK code by setting the VM init level to 1. Therefore, application code would use the non-static value as the upper bound. Closes: oracle#556
jerboaa
added a commit
to jerboaa/graal
that referenced
this issue
Sep 22, 2023
First, we use a separate accessor for page-alignedness as it doesn't need the more sophisticated initialization of the directMemory field. Next, ensure PhysicalMemory initialization is serialized and when it is, set directMemory to a static value so that the container code can finish initialization without introducing a cyle. The final directMemory value based on the heap size is then published to JDK code by setting the VM init level to 1. Therefore, application code would use the non-static value as the upper bound. Closes: oracle#556
jerboaa
added a commit
to jerboaa/graal
that referenced
this issue
Sep 22, 2023
First, we use a separate accessor for page-alignedness as it doesn't need the more sophisticated initialization of the directMemory field. Next, ensure PhysicalMemory initialization is serialized and when it is, set directMemory to a static value so that the container code can finish initialization without introducing a cyle. The final directMemory value based on the heap size is then published to JDK code by setting the VM init level to 1. Therefore, application code would use the non-static value as the upper bound. Closes: oracle#556
zakkak
pushed a commit
to zakkak/mandrel
that referenced
this issue
Oct 10, 2023
First, we use a separate accessor for page-alignedness as it doesn't need the more sophisticated initialization of the directMemory field. Next, ensure PhysicalMemory initialization is serialized and when it is, set directMemory to a static value so that the container code can finish initialization without introducing a cyle. The final directMemory value based on the heap size is then published to JDK code by setting the VM init level to 1. Therefore, application code would use the non-static value as the upper bound. Closes: oracle#556 (cherry picked from commit 1ae2dc0)
zakkak
pushed a commit
to zakkak/mandrel
that referenced
this issue
Nov 13, 2023
First, we use a separate accessor for page-alignedness as it doesn't need the more sophisticated initialization of the directMemory field. Next, ensure PhysicalMemory initialization is serialized and when it is, set directMemory to a static value so that the container code can finish initialization without introducing a cyle. The final directMemory value based on the heap size is then published to JDK code by setting the VM init level to 1. Therefore, application code would use the non-static value as the upper bound. Closes: oracle#556 (cherry picked from commit 1ae2dc0)
graalvmbot
pushed a commit
that referenced
this issue
Dec 7, 2023
First, we use a separate accessor for page-alignedness as it doesn't need the more sophisticated initialization of the directMemory field. Next, ensure PhysicalMemory initialization is serialized and when it is, set directMemory to a static value so that the container code can finish initialization without introducing a cyle. The final directMemory value based on the heap size is then published to JDK code by setting the VM init level to 1. Therefore, application code would use the non-static value as the upper bound. Closes: #556 (cherry picked from commit 1ae2dc0)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to perform basic first-run installation tasks immediately fails on Ubuntu 18.04 with 16 GB of memory, of which 7 GB is available. The same also happens natively, without the Docker container, but it's handier for reproduction.
Right after the crash:
Dockerfile available at https://github.com/mikaelhg/nobody-has-tested-basic-graal-installation.
Build command:
The text was updated successfully, but these errors were encountered: