Eclipse Run speed optimization (resolves issues such as crazy reading, slow release, cpu100%, etc.)

Source: Internet
Author: User

My eclipse is running at a very slow speed, specifically:

1, as long as the eclipse started, the hard drive lights flash, constantly read the disk;

2, release Tomcat often in 0%;

3, the occasional CPU full;

Online talk about the optimization of the article countless, but always useful but very little, most of it is reproduced or even plagiarism. After drawing on the practice of various articles and constantly trying, my problem finally solved.

1, the optimization of the starting parameters;

My startup parameters are:-XMS976M-XMX976M-XX:PERMSIZE=128M-XX:MAXPERMSIZE=128M-XMN168M-XX:+DISABLEEXPLICITGC

Where xx:permsize and xx:maxpermsize are necessary, just set up xmx, often with eclipse memory overflow situation;

2, start the plug-in optimization:

Windows-preference-general-startup and shutdown, keep only 1th, 3, 4, all other cancellations, reserved for:

Usage DAta Gathering Plug-in,

Equinox Provisioning Platform Automatic updata Support,

WTP Webservice UI Plug-in

4. Close verification

Windows-preference-validation all cancel, keep only manual column;

In the project right--validation, also all cancel, only keep the manual column, if you need to check the code is wrong, you can right-click on the code file, manually verify.

5. Clean up the project documents

Delete all files in the. metadata\.plugins\org.eclipse.epp.usagedata.recording directory in the workspace directory, mainly to keep this directory, only delete files in the directory can be

After the above operation, my eclipse either start or release or compile the project, the speed has improved a lot, especially the start, the original to wait for two minutes, now 15 seconds into the interface, and all the Code functions, project compilation, release are unaffected, PUBLISH Tomcat's time is within 2 minutes, and our engineering documents are quite large. The point is, all the operation of the hard drive lights have not been flashing, crazy read disk situation.

The above is for reference only, welcome feedback questions and suggestions, thank you.

Eclipse Run speed optimization (resolves issues such as crazy reading, slow release, cpu100%, etc.)

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.