Before adding synapseJavaClient as a dep, we were able to relatively easily compile a native image and make a smaller and lower-memory app. However, the build is more finicky now and requires an actual reflections configuration given this output:
(base) avu@nym:~/sage/nf/accent$ ./script/native.sh
================================================================================
GraalVM Native Image: Generating 'accent-0.1.0-SNAPSHOT-standalone' (static executable)...
================================================================================
Warning: Feature class InitAtBuildTimeFeature is annotated with the deprecated annotation @AutomaticFeature. Support for this annotation will be removed in a future version of GraalVM. Applications should register a feature using the option --features=InitAtBuildTimeFeature
Warning: Could not resolve net.jpountz.lz4.LZ4HCJNICompressor for reflection configuration. Reason: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4HCJNICompressor.
Warning: Could not resolve net.jpountz.lz4.LZ4JNICompressor for reflection configuration. Reason: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4JNICompressor.
Warning: Could not resolve net.jpountz.lz4.LZ4JNIFastDecompressor for reflection configuration. Reason: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4JNIFastDecompressor.
Warning: Could not resolve net.jpountz.lz4.LZ4JNISafeDecompressor for reflection configuration. Reason: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4JNISafeDecompressor.
Warning: Could not resolve net.jpountz.lz4.LZ4JavaSafeCompressor for reflection configuration. Reason: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4JavaSafeCompressor.
Warning: Could not resolve net.jpountz.lz4.LZ4HCJavaSafeCompressor for reflection configuration. Reason: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4HCJavaSafeCompressor.
Warning: Could not resolve net.jpountz.lz4.LZ4JavaSafeFastDecompressor for reflection configuration. Reason: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4JavaSafeFastDecompressor.
Warning: Could not resolve net.jpountz.lz4.LZ4JavaSafeSafeDecompressor for reflection configuration. Reason: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4JavaSafeSafeDecompressor.
Warning: Method java.lang.reflect.Method.canAccess(Object) not found.
[clj-easy/graal-build-time] Registering packages for build time initialization: clojure, accent, babashka, bencode, cheshire, clj_commons, clj_easy, cognitect, database, datalevin, edamame, pod.huahaiy, sci, taoensso
[1/7] Initializing... (5.7s @ 0.30GB)
Version info: 'GraalVM 22.3.1 Java 17 CE'
Java version info: '17.0.6+10-jvmci-22.3-b13'
C compiler: x86_64-linux-musl-gcc (linux, x86_64, 11.4.0)
Garbage collector: Serial GC
2 user-specific feature(s)
- InitAtBuildTimeFeature
- org.graalvm.home.HomeFinderFeature: Finds GraalVM paths and its version number
# Printing compilation-target information to: /home/avu/sage/nf/accent/reports/target_info_20240731_161038.txt
# Printing class initialization configuration to: /home/avu/sage/nf/accent/reports/class_initialization_configuration_20240731_161038.csv
[Use -Dgraal.LogFile=<path> to redirect Graal log output to a file.]
[thread:1] scope: main
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/java.nio.file.spi.FileSystemProvider
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/sun.util.resources.LocaleData$CommonResourceBundleProvider
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/jdk.internal.logger.DefaultLoggerFinder
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/com.fasterxml.jackson.core.JsonFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/java.nio.charset.spi.CharsetProvider
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/sun.util.resources.LocaleData$SupplementaryResourceBundleProvider
[thread:1] scope: main.registerResource
Resources have been added by ServiceLoaderFeature. Automatic registration can be disabled with -H:-UseServiceLoaderFeature
[thread:1] scope: main.registerResource
ResourcesFeature: registerResource: java.base:java/lang/uniName.dat
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.MutableBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.ImmutableBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.MultiReaderBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.MutableSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.ImmutableSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.FixedSizeSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.MultiReaderSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.MutableFloatListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.ImmutableFloatListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.MutableCharListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.ImmutableCharListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.MutableObjectLongMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.ImmutableObjectLongMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.MutableStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.MutableObjectDoubleMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.ImmutableStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.ImmutableObjectDoubleMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.MutableListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.ImmutableListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.FixedSizeListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.MultiReaderListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.MutableIntListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.MutableObjectIntMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.ImmutableIntListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.ImmutableObjectIntMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.MutableByteBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.ImmutableByteBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.MutableBooleanBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.sorted.MutableSortedBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.ImmutableBooleanBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.sorted.ImmutableSortedBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.MutableDoubleListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.ImmutableDoubleListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.MutableShortBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.ImmutableShortBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.ImmutableMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.FixedSizeMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.MutableMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.sorted.MutableSortedSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.sorted.ImmutableSortedSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.ImmutableShortListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.ImmutableIntSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bimap.MutableBiMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bimap.ImmutableBiMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.MutableIntBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.ImmutableIntBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.ImmutableIntObjectMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.MutableIntObjectMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.ImmutableIntShortMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.MutableIntShortMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.MutableShortSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.ImmutableShortSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.MutableLongBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.ImmutableLongBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.MutableLongListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.ImmutableLongListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.sorted.MutableSortedMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.sorted.ImmutableSortedMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.MutableDoubleBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.ImmutableDoubleBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.MutableBooleanListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.ImmutableBooleanListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.list.primitive.ImmutableByteListFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.MutableCharBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.ImmutableCharBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.MutableDoubleSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.ImmutableDoubleSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.MutableDoubleIntMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.ImmutableDoubleIntMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.MutableShortIntMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.ImmutableShortIntMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.MutableFloatBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.bag.primitive.ImmutableFloatBagFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.ImmutableIntDoubleMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.map.primitive.MutableIntDoubleMapFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.MutableBooleanSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.ImmutableBooleanSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.MutableBooleanStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.ImmutableBooleanStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.MutableLongSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.ImmutableLongSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.MutableLongStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.ImmutableLongStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.MutableCharSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.ImmutableCharSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.MutableCharStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.ImmutableCharStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.MutableByteSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.ImmutableByteSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.MutableByteStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.ImmutableByteStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.MutableIntStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.ImmutableIntStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.MutableDoubleStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.ImmutableDoubleStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.MutableFloatSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.set.primitive.ImmutableFloatSetFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.MutableShortStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.ImmutableShortStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.MutableFloatStackFactory
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/org.eclipse.collections.api.factory.stack.primitive.ImmutableFloatStackFactory
[thread:1] scope: main.registerResource
Resources have been added by ServiceLoaderFeature. Automatic registration can be disabled with -H:-UseServiceLoaderFeature
[thread:1] scope: main.registerResource
ServiceLoaderFeature: registerResource: META-INF/services/javax.naming.spi.InitialContextFactory
[thread:1] scope: main.registerResource
Resources have been added by ServiceLoaderFeature. Automatic registration can be disabled with -H:-UseServiceLoaderFeature
# Printing native-library information to: /home/avu/sage/nf/accent/reports/native_library_info_20240731_161051.txt
# Printing class initialization dependencies to: /home/avu/sage/nf/accent/reports/class_initialization_dependencies_20240731_161051.dot
# Printing class initialization report to: /home/avu/sage/nf/accent/reports/class_initialization_report_20240731_161051.csv
[2/7] Performing analysis... [**********] (13.5s @ 3.89GB)
10,090 (87.88%) of 11,482 classes reachable
14,071 (60.47%) of 23,268 fields reachable
54,717 (46.39%) of 117,950 methods reachable
554 classes, 515 fields, and 5,414 methods registered for reflection
62 classes, 67 fields, and 55 methods registered for JNI access
6 native libraries: dl, dtlv, lmdb, pthread, rt, z
[3/7] Building universe... (1.3s @ 2.59GB)
[4/7] Parsing methods... [*] (1.0s @ 3.21GB)
[5/7] Inlining methods... [***] (0.6s @ 2.49GB)
[6/7] Compiling methods... [***] (9.4s @ 3.51GB)
[7/7] Creating image... (1.8s @ 1.41GB)
22.74MB (51.02%) for code area: 38,901 compilation units
21.07MB (47.28%) for image heap: 249,418 objects and 112 resources
773.64KB ( 1.70%) for other data
44.57MB in total
--------------------------------------------------------------------------------
Top 10 packages in code area: Top 10 object types in image heap:
2.66MB org.tartarus.snowball.ext 4.77MB byte[] for code metadata
1.62MB sun.security.ssl 3.03MB java.lang.Class
1.10MB java.util 2.27MB java.lang.String
830.83KB jdk.internal.net.http 1.99MB byte[] for general heap data
761.29KB java.lang.invoke 1.63MB byte[] for java.lang.String
703.45KB o.e.c.i.map.mutable.primitive 788.28KB c.o.s.c.h.DynamicHubCompanion
700.62KB com.sun.crypto.provider 763.05KB byte[] for reflection metadata
648.17KB clojure.lang 518.02KB java.util.HashMap$Node
467.42KB sun.security.x509 462.88KB java.lang.String[]
450.33KB java.util.concurrent 356.68KB c.o.s.c.h.DynamicHu~onMetadata
12.61MB for 321 more packages 3.77MB for 2249 more object types
--------------------------------------------------------------------------------
1.3s (3.6% of total time) in 35 GCs | Peak RSS: 6.59GB | CPU load: 10.63
--------------------------------------------------------------------------------
Produced artifacts:
/home/avu/sage/nf/accent/accent-0.1.0-SNAPSHOT-standalone (executable)
/home/avu/sage/nf/accent/accent-0.1.0-SNAPSHOT-standalone.build_artifacts.txt (txt)
================================================================================
Finished generating 'accent-0.1.0-SNAPSHOT-standalone' in 35.6s.
Before adding
synapseJavaClient
as a dep, we were able to relatively easily compile a native image and make a smaller and lower-memory app. However, the build is more finicky now and requires an actual reflections configuration given this output: