删除了maven项目iml文件,然后就出来这个bug,翻了大部分文章都是files-> 点击Invalidate Caches / Restart.但是对我来说没有效。
终于找到解决办法:
1、Use G1 GC instead of the default.Help – Edit Custom VM Options
将idea安装目录idea64.exe.vmoptions文件中
-XX:+UseG1GC替换-XX:+UseConcMarkSweepGC
2、将项目中.idea文件夹删除
然后restart idea问题就解决了。
idea updating indices again and again? idea一直不停的闪 updating indices
最新推荐文章于 2022-11-04 12:21:17 发布