2 ms·
When I tried it the file size ended up way bigger than just packaging a JVM would be
by circuit10 4y ago
When I tried it the file size ended up way bigger than just packaging a JVM would be
- lenkite 4y agoThat isn't a general behaviour. You can get <5mb binary size for modest apps. Likely have one or two "bad" actors contributing to binary size. Try the Graal VM dashboard to identify which modules are bloating up the binary. "Use GraalVM Dashboard to Optimize the Size of a Native Executable" https://www.graalvm.org/latest/reference-manual/native-image/guides/use-graalvm-dashboard/ https://www.graalvm.org/latest/reference-manual/native-image... Tutorial that shows reducing binary size from 17MB to 862KB! https://docs.oracle.com/en/graalvm/enterprise/22/docs/reference-manual/native-image/guides/use-graalvm-dashboard/ https://docs.oracle.com/en/graalvm/enterprise/22/docs/refere...