Eclipse has been building Workspace solution

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.