I am trying to use java 11.0.3, and now boot package
fails to produce a .jar. I see:
Compiling 187/187 last.ns…
Writing pom.xml and pom.properties...
Adding uberjar entries...
Writing my.jar...
Killed
What could Killed
indicate here?is that on linux? could be the linux oom killer that killed the java process because the machine ran out of memory
i think there are commands to know for sure if that’s what happened but i don’t know the off-hand
hm, it is on circleCI indeed. However I set the env vars
JVM_OPTS: -server -Xmx3200m
BOOT_JVM_OPTIONS: "-Xms512m -Xmx1512m"
(I now realize that Xmx is different - both should be under the 4gb limit though)
It happens when I try to update my base docker image on circle ci - the newer one has java 11
it does work locally, so I guess it has to do with the CI setting - java 11 for both, ubuntu linux on circle vs osx locally
I changed both to -Xmx3200m and it doesn’t seem to make a difference - locally it doesn’t take more than 2GB it seems
right it is a return of 137
so OOM 😄
I believe I was using boot 2.7.2 and I am now using 2.8.3 - now looking if ther ecould there be an issue where boot doesn’t respect the memory options or the jvm options changed for some reason
trying -XX:+UseContainerSupport
- doesn’t seem to work sadly