问题
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