I keep getting this error when trying to build a project with Bitbucket pipelines and Gradle:
* What went wrong:
Execution failed for task ':compileScala'.
>
Java heap space
The machine is x2 and I do have gradle.properties with increased memory settings:
org.gradle.jvmargs=-Xms512m -Xmx5g -XX:MaxPermSize=1024m -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
Anything else I am missing?
Hi @Guy Bashan
I think i got this nearly everyday you are missing:
org.gradle.jvmargs=-Xms512m -Xmx5g -XX:MaxPermSize=1024m -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 Fu=IX ISSUE
I suggest you email alatisian support by https://support.atlassian.com/contact/#/
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.