Error : GC overhead limit exceeded (max heap: 1024 MB)
Frequently am getting above error When I do gradle deploy or other gradle operations from command prompt.
Could anyone help me to fix this issue.
Build : Gradle
*This is related to Gradle and Java. not only JAVA
It worked for me and Hope this will help you :
GRADLE_OPTS=-Xmx2048m gradle deploy