Eclipse getting too slow - workspace recreation helped

后端 未结 7 1411
你的背包
你的背包 2021-02-04 01:50

My Eclipse was getting slower and slower over time. Tips I found on the Internet did not help. What I did is completely deleted my workspace, created new one and reimported all

7条回答
  •  伪装坚强ぢ
    2021-02-04 02:31

    I use RAD 7.5 (which is based off of Eclipse 3.4). I found several of my projects had millions of history files, all older than 7 days, and mostly the same dummy MANIFEST.MF file (39 bytes).

    I discovered this when I tried to delete an old project with Windows Explorer. After 12 hours, Windows Explorer reported that it had recycled 3.5 million files, and was still working.

    I found the only way to remove the workspace was to open a Command Window, CD to

    \.metadata\.plugins\org.eclipse.core.resources\.history
    

    then type

    DEL *.* /s/q
    

    Even this took the better part of an hour.

提交回复
热议问题