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

后端 未结 9 2063
醉酒成梦
醉酒成梦 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条回答
  •  天命终不由人
    2020-12-08 00:27

    I'd similar issue on intellij. I upgraded the memory as stated in above answers and disabled daemon in gradle.properties file

    org.gradle.daemon=false
    

    Gradle Daemon is a long lived build process. It caches the information about files, tasks,project structure, etc from the previous build. Hence, making your subsequent builds efficient. Daemon process is enabled by default. But sometimes it gets corrupted, so you may try disabling daemon process.

提交回复
热议问题