Eclipse hangs on “Re-indexing (fully) repository {username}”

时光怂恿深爱的人放手 提交于 2019-12-19 04:13:00

问题


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

Why does Eclipse try to index the home directory?


回答1:


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

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

rm -rf /home/username/.git

References:

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


来源:https://stackoverflow.com/questions/19110037/eclipse-hangs-on-re-indexing-fully-repository-username

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!