You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
There is a graal compiled binary program called service, and it is three times the size of the Original service-0.0.1-SNAPSHOT.jar.
Is this normal?
Steps to reproduce the issue
Please include both build steps as well as run steps
A maven project used native-maven-plugin
mvn -Pnative native:compile
Describe GraalVM and your environment:
GraalVM version : GraalVM 17
JDK major version: 17
OS: ubuntu 22.04
The text was updated successfully, but these errors were encountered:
As always, it depends but it certainly is possible. I'm assuming that this is a fat JAR? You may want to take a closer look at the build output, which provides you with more insights where those 264MB come from. It's possible that the binary contains a lot of resources, or even too many resources in case of misconfiguration. It's unlikely but, of course, also possible that you hit a bug in GraalVM. Also, the comparison is somewhat unfair because a) the JAR can be compressed whereas the binary isn't (how large is it when you zip it?) and b) the JAR needs a JVM to run whereas the binary is self-contained.
Describe the issue
There is a graal compiled binary program called service, and it is three times the size of the Original service-0.0.1-SNAPSHOT.jar.
Is this normal?
Steps to reproduce the issue
Please include both build steps as well as run steps
Describe GraalVM and your environment:
The text was updated successfully, but these errors were encountered: