Eclipse挂起在“重建索引(完全)存储库{username}” [英] Eclipse hangs on "Re-indexing (fully) repository {username}"

查看:252
本文介绍了Eclipse挂起在“重建索引(完全)存储库{username}”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse挂起重建索引(完全)存储库/ home / {username}。它最终崩溃了java.lang.OutOfMemoryError:GC开销限制超出。

Eclipse hangs on "Re-indexing (fully) repository /home/{username}". It eventually crashes with "java.lang.OutOfMemoryError: GC overhead limit exceeded".

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

Why does Eclipse try to index the home directory?

推荐答案

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

Eclipse Git triggers the indexing when the home directory is a git repository (i.e. contains a ".git" folder).

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

A workaround is to remove /home/{username}/.git

rm -rf /home/username/.git

参考文献:

  • https://bugs.eclipse.org/bugs/show_bug.cgi?id=413687
  • https://bugs.eclipse.org/bugs/show_bug.cgi?id=393332

这篇关于Eclipse挂起在“重建索引(完全)存储库{username}”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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