Fork me on GitHub
#graalvm
<
2021-07-31
>
Stel Abrego18:07:38

Hey Graalers, I https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/tools/zprint/default.nix zprint via GraalVM for NixOS (it's currently available on the unstable channel), and for the build script I just copy pasted zprint's https://github.com/kkinnear/zprint/blob/master/zprintl.sh. But I'm concerned that the options aren't optimal for building on consumer machines, in particular these ones: -J-Xmx7G -J-Xms4G. It seems like 7G of memory is too much and could error out on some machines. Any suggestions here?

borkdude18:07:20

Perhaps don't set it at all? Or make it configurable?

👍 2
Stel Abrego22:07:59

Oh I didn’t not using these flags was an option! I need to read more about these flags. I’ll try that out.

ericdallo01:08:46

at least for clojure-lsp, clj-kondo and babashka nixpkgs derivations, we use 4g AFAIK and it works fine

👍 4