-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Update to GraalVM 21.3 #20894
Update to GraalVM 21.3 #20894
Conversation
Looking into the issue... 👀 |
Switching back to draft till we short out why |
funny the blog post claims memory improvements:
|
Getting the right numbers and understanding what you are looking at can be a bit tricky. The "20% faster build time and ~9% less memory usage" part is coming from this tweet. Looking at the screenshots attached we see that
What that means is that despite seeing GraalVM report a smaller heap size (note that GraalVM prints the heap capacity instead of the heap usage, see oracle/graal#3913 and oracle/graal#3879) the actual heap usage (due to a larger live data set) might be higher. For instance, when compiling
while with
Notice how the latter reports a larger heap capacity (up to 4.74G), while the largest "observed" live data set is 2.7G. Note here that this comparison might be misleading as well, since the largest "observed" live data set might not be the actual maximum live data set. During the compile phase we see that the heap usage goes up to 4846M and only after that phase is completed a GC is triggered showing that only 1720M are still live. In a different run however, where the GC happens to get triggered during the compile phase we see 3253M of live data (still better than when running with
Last, the table you attached presents image size, i.e., the size that the resulting binary takes on disk. I have not checked to see if the use of HTH |
Failing Jobs - Building 875668e
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 17 #- Failing: integration-tests/vault-agroal
📦 integration-tests/vault-agroal✖
✖
✖
|
@geoand I have tried executing a single vault test (including full vault init) 50 times in a row on my local host. I was able to reproduce one timeout, similar to the issue in this build. I will try making this part more resilient. |
Great, thanks 👍 |
Thanks! |
Creating as draft PR till Mandrel 21.3 gets released as well.
Blocked by: quarkusio/quarkus-images#175