How can you speed up Eclipse?

后端 未结 30 2563
甜味超标
甜味超标 2020-11-22 06:04

How can you make the experience with Eclipse faster?

For instance: I disable all the plugins I don\'t need (Mylyn, Subclipse, …).<

30条回答
  •  青春惊慌失措
    2020-11-22 06:56

    Eclipse loads plug-ins lazily, and most common plug-ins, like Subclipse, don't do anything if you don't use them. They don't slow Eclipse down at all during run time, and it won't help you to disable them. In fact, Mylyn was shown to reduce Eclipse's memory footprint when used correctly.

    I run Eclipse with tons of plug-ins without any performance penalty at all.

    • Try disabling compiler settings that you perhaps don't need (e.g. the sub-options under "parameter is never read).
    • Which version of Eclipse are you using? Older versions were known to be slow if you upgraded them over and over again, because they got their plug-ins folder inflated with duplicate plug-ins (with different versions). This is not a problem in version 3.4.
    • Use working-sets. They work better than closing projects, particularly if you need to switch between sets of projects all the time.

    It's not only the memory that you need to increase with the -Xmx switch, it's also the perm gen size. I think that problem was solved in Eclipse 3.4.

提交回复
热议问题