打开项目后Gradle构建过程中报错:gc overhead limit exceeded
在IDEA的bin目录下,修改idea64.exe.vmoptions或idea.exe.vmoptions文件以及C:\Users\xxx\AppData\Roaming\JetBrains\IntelliJIdea2020.3\idea64.exe.vmoptions
-Xms1000m
-Xmx4000m
-XX:ReservedCodeCacheSize=1024m
在idea64.exe.vmoptions或idea.exe.vmoptions文件以及C:\Users\xxx\AppData\Roaming\JetBrains\IntelliJIdea2020.3\idea64.exe.vmoptions中追加参数
-XX:-UseGCOverheadLimit