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

前端 未结 1 375
借酒劲吻你
借酒劲吻你 2021-01-07 05:17

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

Why does

相关标签:
1条回答
  • 2021-01-07 06:00

    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
    0 讨论(0)
提交回复
热议问题