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/