Skip to content
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

Reduce compiled binary size #5

Merged
merged 2 commits into from
Jan 20, 2024
Merged

Reduce compiled binary size #5

merged 2 commits into from
Jan 20, 2024

Conversation

julienvincent
Copy link
Collaborator

Currently the resource config for graalvm native-image includes everything on the classpath in the resulting binary.

This PR fixes this by including only the necessary network module configuration reducing the binary size from ~260MB to ~70MB

@julienvincent julienvincent merged commit a769087 into master Jan 20, 2024
8 checks passed
@julienvincent julienvincent deleted the jv/optimise-graal branch January 20, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant