Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hints to improve Eclipse performance

Working in Eclipse with big projects can be painful because of IDE works slowly, sometimes stops and doesn't respond. I know it can depends on OS, version of Eclipse etc.

All eclipse developers have tricks which tuning workspace in Eclipse, What should be turn off to improve performance the IDE?

For example: My project has the recommendation to turn off xml validations, don't install m2eclipse.

Because of eclipse's performance some devs use IntelliJ.

UPDATED: For these who feel uncomfortable with the eclipse's performance I suggest to try other solutions just to have comparison - I tried and this was the best what I've done in performance subject :)

like image 209
lukastymo Avatar asked Apr 14 '11 08:04

lukastymo


People also ask

Why does Eclipse take so long to start?

this eclipse. Such a long startup time is usually the sign of some kind of timeout, because a resource (path, internet address?) does not respond.

How to make eclipse faster and more efficient?

To improve the performance and make eclipse faster, there are certain ways which you can utilize and see noticeable differences. These effective method are listed below: Let’s understand them in detail one by one: Cleaning up history and indexes reduce the load on RAM, and overall HDD usage as well. This result in very high impact on performance.

What are some productivity tips for Eclipse Java IDE users?

15 Productivity Tips for Eclipse Java IDE Users 1. Use Eclipse Oxygen. There are many improvements in the last release of Eclipse alone, and with the latest build... 2. Switch Editors Using Ctrl+Tab. If you're used to switching tabs in browsers and editors like Notepad++, then do... 3. Group Related ...

How to fix eclipse getting slow performance?

Getting slow performance usually is a problem of one or more badly implemented plugins. Identifying the bad plugin and uninstalling it normally removes the bad performance (of course if you realy NEED the plugin you are out of luck ;) ). Show activity on this post. 1.Disable unecessary validations and startup action in eclipse reference.

How to improve performance of J2EE eclipse?

Regularly close the unused tabs. To open resource we can always use ctrl+shift+R and ctrl+shift+T (java resource) instead of opening lot of tabs Disable unwanted plugins. Full J2EE eclipse version has an option to disable/uninstall plugins. Goto Help-->Software Updates-->Manage Configuration.


2 Answers

  1. Remove unwanted activation of some of the plugins at start-up by going to windows-->preference-->General-->Startup and shutdown. Also make sure you don't use those plugins in any of your views

  2. Eclipse is not a word processor. Better to disable the spell check. Disabling spell check will reduce the eclipse burden by going to Windows-->Preference-->General-->Editors --> Text Editors-->Spelling

  3. When eclipse builds the project, it will delete all output folders and rebuild classes built by other compilers. We can disable such features, as deleting the output folders and rebuilding will take sometime. Goto Windows-->Preference-->Java-->Compiler-->Building

  4. Disabling label decorations which is of less use for you, will also help you to gain some performance . Goto Windows-->Preference-->General-->Appearance-->Label Decorations

  5. Close unwanted projects and use working set option to move from one group of project to another smoothly.

  6. You could also disable Eclipse automatic building, if it is not needed for you. Goto Project-->Build Automatically (uncheck it)

  7. Do not keep lot of tabs opened in the editor. Better to have around 20 tabs . Regularly close the unused tabs. To open resource we can always use ctrl+shift+R and ctrl+shift+T (java resource) instead of opening lot of tabs

  8. Disable unwanted plugins. Full J2EE eclipse version has an option to disable/uninstall plugins. Goto Help-->Software Updates-->Manage Configuration. Right click on any installed plugin to get disable option. If this option is not available then enable Classic Update by going to Windows-->Preference-->Capabilty and check classic update. Now the manage configuration option should be available in help menu

like image 102
Zeeshan Mirza Avatar answered Oct 11 '22 01:10

Zeeshan Mirza


I'm an intelliJ user though occasionally peep into eclipse since I like to use it. Couple of things you can try which my work colleague pointed to are

  • Show the heap status (General -> Show heap status) can keep an eye on memory and hit the button to clear!

    enter image description here

  • In project properties set the default output folder to be outside of the target

  • Workspace options, unchecking build automatically (build in the background as soon as you hit Save (Ctrl+S)), refresh automatically & save auto before build. You may have you own preferences but can give it a try.
  • Show sleeping/hidden tasks to see whats going on underneath?

You must have already tried giving it more memory I guess. Hopefully it will improve.

like image 37
MalsR Avatar answered Oct 11 '22 00:10

MalsR