• 可能1 可能是缓存的文件太多了导致: File->Invalidate Caches /Restart,清理缓存, 并重启IDEA。重启之后,会重建索引, 此过程较慢, 但build的过程会加快。
  • 可能2 进入file->Project Structure->Modules->选中项目名称-paths,把Exclude Output paths 打钩。
  • 可能3 检查pom.xml resources是否正确,把无用的注释掉。
  • 可能4 File->setting->compiler,将“Build Process Heap Size(MBytes)”值设置为1400
  • 可能5 修改IDEA目录下:/bin/idea.exe.vmoptions和idea64.exe.vmoptions文件:
-Xms512m
-Xmx2048m
-XX:ReservedCodeCacheSize=480m

参考文献

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-09-27
  • 2021-08-05
  • 2021-11-07
  • 2021-08-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
  • 2021-11-08
  • 2022-12-23
  • 2021-09-27
  • 2022-01-08
相关资源
相似解决方案