Java tends to use a lot of memory. This can cause out-of-memory (oom) issues inside your jobs with limited resources. The blog post below can be helpful to guide you in controlling the memory usage of java within your jobs whether you're using Gradle, Maven, Kotlin, or Lein.
https://circleci.com/blog/how-to-handle-java-oom-errors/
Also, consider disabling pre-dexing for your Android builds while in CI
Comments
Please sign in to leave a comment.