Why are my Gradle builds dying with exit-code 137?

后端 未结 9 2075
醉酒成梦
醉酒成梦 2020-12-07 23:48

I\'ve been trying to compile and test a large project to use Gradle. The test run fine until they die unexpectedly. I dug around and resources said that this is due to a mem

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-08 00:45

    Similar to Baptiste Mesta's answer but for JDK 11 I used the UseContainerSupport JVM option to solve my Jenkins build.

    ./gradlew test --no-daemon -Dorg.gradle.jvmargs=-XX:+UseContainerSupport
    

提交回复
热议问题