eclipse Gradle-Refresh Gradle Project,卡住

報錯信息

FAILURE: Build failed with an exception.

* What went wrong:
Failed to notify dependency resolution listener.
> GC overhead limit exceeded

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 9m 46s
Expiring Daemon because JVM heap space is exhausted

C:\Users\HP\.gradle文件夾下創建gradle.properties文件添加

org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=512m

Restart eclipse 重新Gradle->Refresh Gradle Project

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章