Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to and GraalVM slack:
dominicm 2020-09-27T21:00:48.021400Z

Is there a trick for finding the cause of the size of a native image? I'm already at 50mb!

borkdude 2020-09-27T21:04:16.022200Z

@dominicm Yes, check if there is any code using require, resolve or find-var, etc in non-top-level code (i.e. function bodies)

borkdude 2020-09-27T21:05:19.022500Z

@dominicm Example:

borkdude 2020-09-27T21:06:40.023300Z

A good strategy for this, I find, is adding code to your binary in small increments and checking the size at every step. Often I just copy the code from libraries and comment out function bodies until I find the source of the bloat

borkdude 2020-09-27T21:08:28.024Z

You can also maybe use this: I haven't used it as much, but the output may be useful