Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Eclipse 挂起“重新索引(完全)存储库 /home/{username}”。它最终因“java.lang.OutOfMemoryError:GC 开销限制超出”而崩溃。
为什么 Eclipse 尝试索引主目录?
当主目录是 git 存储库(即包含“.git”文件夹)时,Eclipse Git 会触发索引。
一种解决方法是删除 /home/{username}/.git
rm -rf /home/username/.git
参考: