- Mac OS
- Intellij Ultimate
Because JVM heap space is exhausted, gradle build is fail... 😢
Sometimes GC overhead limit exceeded
issue has occurred. 😱
So, I tried a number of ways.
shared build processes heap size
setting in intellij preferences > compiler.
however, this issue unresolved
I have no image..
set -Xmx4096m
in Help > Edit Custom VM Options.
however, this is a real shoveling....
I resolved it. 😁
set max heap size in gradle.properties
On Windows: C:\Users\<you>\.gradle\gradle.properties
On Mac/Linux: /Users/<you>/.gradle/gradle.properties
If you can't find this file, you make this file. so do i.