boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
2019-07-05T00:57:48.039800Z

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?

2019-07-05T03:49:28.040400Z

is that on linux? could be the linux oom killer that killed the java process because the machine ran out of memory

2019-07-05T03:50:26.040800Z

i think there are commands to know for sure if that’s what happened but i don’t know the off-hand

2019-07-05T09:43:41.041200Z

hm, it is on circleCI indeed. However I set the env vars

JVM_OPTS: -server -Xmx3200m
      BOOT_JVM_OPTIONS: "-Xms512m -Xmx1512m"

2019-07-05T09:44:27.041900Z

(I now realize that Xmx is different - both should be under the 4gb limit though)

2019-07-05T09:47:14.042500Z

It happens when I try to update my base docker image on circle ci - the newer one has java 11

2019-07-05T10:37:23.043600Z

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

2019-07-05T10:38:17.044400Z

I changed both to -Xmx3200m and it doesn’t seem to make a difference - locally it doesn’t take more than 2GB it seems

2019-07-05T21:49:31.045200Z

right it is a return of 137 so OOM 😄

2019-07-05T21:51:30.046400Z

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

2019-07-05T23:14:41.046700Z

trying -XX:+UseContainerSupport - doesn’t seem to work sadly