hi everyone, i’m debugging an issue where a colleague’s BOOT_JVM_OPTIONS
env var is being ignored
did any of you come across something like this?
we can see it in (System/getenv)
but… seems to be ignored
@dazld hm, how are you running System/getenv?
also, what system/bash version is your colleague on?
@alandipert @dazld's colleague here the bash version I'm running:
api (benchmark) $ bash -version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
Copyright (C) 2007 Free Software Foundation, Inc.
we simply tried out boot repl
and ran (System/getenv)
inside.
the BOOT_JVM_OPTIONS
is set to the correct values, but the datomic valcache flags are not propagatedwe’re looking at (System/getProperties)
too
the jvm flags are just ignored
and the BOOT_JVM_OPTIONS variable is set to the same thing on both your machines… but it just doesn’t work on @claudiu511’s machine?
Yep
That’s exactly it
It’s super weird
Set the properties directly and everything works, but for whatever reason, the Java process that boot starts didn’t see them
There’s something fishy about how boot is starting java on claudiu’s machine
It sees the environment var but those options aren’t set
He’s using sdkman if that’s relevant
What version of boot on each machine?
2.8.3