Ext.: http://blog.csdn.net/yzllz001/article/details/53487808
One, the causes of this problem are many
1, automatic upgrade 2, not properly closed 3, Maven download lib hang and so on.
Second, the settlement summary
(1), Solution
Method 1: Modify the Eclipse startup file Eclipse.ini to add a startup parameter parameter to the-VMARGS-XMX512M
Method 2. Turn off the auto-build workspace: Project--Build auto ....
Method 3 Adds a command to the Eclipse.ini style-clean
(2), increase the maximum amount of memory available for eclipse operation
What to do: Modify the Eclipse.ini in the Eclipse directory,-xmx512m, such as change to-xmx768m
(3), reduce the plug-in that automatically starts after Eclipse starts
Specific operation: in Preferences, general, startup and Shutdown: Remove the items except the Plug-ins activated on startup (such as Mylyn, etc.) and remove them.
Effect: After you start eclipse, there will be a initialing Java tools scroll bar that will find a lot faster.
(4), reduce the compilation needs to verify the project, improve the compilation speed
Specific operation: In Preferences, validataion will be irrelevant validator removed, such as: I will not have nothing to do with me JPA, JSP, WS are removed.
Effect: When compiling a project, Eclipse runs a few validator projects, and it's really fast.
(5), turn off automatic compilation
What to do: Project--Build automatically
Effect: Automatic compilation does not start after code modification is saved.
(6), in clean, you should pay attention to the options
What to do: Project, clean
Note: At the bottom are: build the entire workspace and build only the selected Projects
To check according to your own situation, because the default option is to compile the entire workspace.
(7), display memory usage (can be manually gc)
How to do: Preference, General and Show Heep status
(8), save your own perspective
Specific operation: 1. Window, Save perspective as
2. Preference, perspective, make default sets the perspective you have just created or your own common
(9), close the automatic release of the server
Action: Never publish automatically, publishing, Server
Eclipse has been building Workspace solution