Eclipse hangs on \"Re-indexing (fully) repository /home/{username}\". It eventually crashes with \"java.lang.OutOfMemoryError: GC overhead limit exceeded\".
Why does
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: