Intelli J IDEA 需要永远更新索引 [英] Intelli J IDEA takes forever to update indices

查看:26
本文介绍了Intelli J IDEA 需要永远更新索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Intelli J 花费大量时间(将近 12 小时)来更新项目索引是否正常?我刚刚在我的机器上安装了 Intelli J 并导入了一个相当大的 Maven 项目(13k+ 文件).

Is it normal for Intelli J to take a lot of time (almost 12 hours) to update indices for a project? I just installed Intelli J on my machine and imported a rather large Maven project (13k+ files).

我知道这个项目很大,但我让我的电脑整晚都开着,当我早上醒来时,Intelli J 还没有完成更新文件的索引,这使得它无法做任何事情标题为更新索引"的弹出窗口一直挂在屏幕中间.

I understand that the project is large but I let my computer up all night and when I woke up in the morning, Intelli J still hasn't finished updating the indices for the files yet, which makes it impossible to do anything since the popup with title 'Updating Index' keep hanging there in the middle of the screen.

推荐答案

在不同 IntelliJ 版本的论坛中有几个答案,这是我尝试过的 (IntelliJ 13).

There are several answers in the Forums for different IntelliJ Versions, here is what I´ve tried (IntelliJ 13).

  • 给予更多内存.对更新索引"没有任何帮助
  • 删除项目中的 .idea 和 iml.没有帮助.

最终解决我的更新索引"问题的是:

In the end what resolved my problem with 'Updating indices' was:

  • 删除 user/.IntellIJIdea13/system/中的 'caches' 文件夹

这篇关于Intelli J IDEA 需要永远更新索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆