Carlos Eduardo
Carlos Eduardo
Same happen if I set an incorrect user/password. I get an error but memory keeps increasing. Spawned a container with the exporter, was using 35MB RAM initially... after some refreshes...
While the `native-image.properties` initialization flags had to be added by hand, most json config files could be generated dynamically by using GraalVM native-image tracing agent. The biggest quirk is that...
There are two points on this IMO, one is the proxy/reflection/jni metadata, the other is initialization flags. Reflection/proxy/etc metadata could be handled by the tracing agent as I described above....
On talks with GraalVM guys (https://twitter.com/carlosedp/status/1675945560119865350), I found that all classes are initialized at run-time by default so looking at GraalVM PRs, I found https://github.com/oracle/graal/pull/3179/files that added a flag to...
One thought I had is that we could bundle the reflection/proxy/etc json metadata for the zio-temporal and temporal classes (like the GRPC ones) in zio-temporal and kinda automate the generation...
Last commit to my sample app added some missing reflection/proxy classes: https://github.com/carlosedp/zio-temporal-hello/commit/793d3ec781874b8bc09c7cf459b0ee872480fa27
Kinda got a false-positive on https://github.com/vitaliihonta/zio-temporal/issues/91#issuecomment-1620840841 where I've removed all initialization flags replacing by a config to exclude the properties from JARs. The image was built successfully but once I've...
Oh that was it... the issue is that zio-http uses netty-common version 4.1.93 and the metadata has 4.1.80. I've manually generated the metadata using the native-image-agent updating the existing metadata...
Tried to consolidate the steps I use to generate all metadata for GraalVM in my project: https://github.com/carlosedp/zio-temporal-hello/issues/5
The usage of `graalvm-reachability-metadata` highly depends on the version of the lib. It won't help with zio-http since the metadata added to the repo is for netty 4.1.80 and zio-http...