Eclipse 卡在 "Re-indexing (fully) repository {username}"上

标签 eclipse git egit

Eclipse 卡在“重新索引(完全)存储库/home/{username}”上。它最终崩溃并显示“java.lang.OutOfMemoryError:超出 GC 开销限制”。

为什么 Eclipse 尝试对主目录建立索引?

最佳答案

当主目录是 git 存储库(即包含“.git”文件夹)时,Eclipse Git 会触发索引。

解决方法是删除/home/{username}/.git

rm -rf /home/username/.git

引用文献:

关于Eclipse 卡在 "Re-indexing (fully) repository {username}"上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19110037/

相关文章:

java - 为什么 JUnit "Run as->JUnit"和 "Cover as -> Junit"有不同的行为?

android - 将 Actionbarsherlock 导入到 Eclipse 中

python - 调试时深入研究变量

eclipse - 使用键盘快捷键通过 egit 从 Eclipse 项目资源管理器提交

java - 从源 (Git) 提取单个文件

java - myClass$1.class 类的 Java 类文件有什么意义?

git - 如何解决 "remote: You (@user) must accept the Terms of Service in order to perform this action."问题?

Teamcity 升级后 GIT VCS 不更新源

git - 如何永久删除存储在GIT中的文件?

java - 在 Eclipse Oxygen 上安装 EGit 时缺少 Eclipse Git Team Provider?