Myeclipse optimization settings

Source: Internet
Author: User

Myeclipse has powerful functions, but its startup speed is very slow. Therefore, it is necessary to optimize it.

(1) Some unused modules cannot be loaded and started.
Window-> perferences-> General-> startup and shutdown, the module loaded at myeclipse startup is displayed on the right.

You can disable the following useless startup items:
WTP: similar to myeclipse, the main difference is that WTP is free. If myeclipse is used, deselect it.
Mylyn: A team task management tool, similar to CVS, manages the project progress in task units and deselect the project.
Derby: an open-source database that is saved as a jar and is deselected.
A large batch of startup items starting with myeclipse easie: the servers supported by myeclipse are only used by myself, and other items are deselected. For example, I only select tomcat.

(2) cancel the project configuration file automatically verified by myeclipse at startup
Window-> perferences-> myeclipse-> Validation
Retain all items under manual, select classpath dependency validator under build, and deselect other items.

Manual verification method: On the file to be verified, right-click-> myeclipse-> RUN Validation

(3) Remove the spelling check (if you think it is useful, do not go)

Window-> perferences-> General-> editors-> text editors-> spelling, remove the Enable spell checking check above.

(4) The default editor of JSP in myeclipse opens the JSP file at the same time, resulting in a slow speed.
Window-> perferences-> General-> editors-> File Associations: Change the default JSP editor to myeclipse JSP editor.

(5) disable automatic updates.
Window-> preferences-> myeclipse-> community essen, deselect search for new features on startup.

Window-> preferences-> myeclipse enterprise workbench-> maven4myeclipse-> Maven, deselect the download repository index updates on startup check box.
(6) Disable update scheduling: window-> preferences-> General-> startup and shutdown-> Automatic Updates schedes (deselect ).

(7) increase the non-heap memory of JVM

Open myeclipse. INI, which must be modified to-xmx,-XX: maxpermsize,-XX: reservedcodecachesize. Increase the value of these three items, but the bigger the value is, the better, I have performed tests under the same conditions (2 GB of memory). The value of-xmx,-XX: maxpermsize is MB, which is faster than MB (depending on the computer ), -xmx,-XX: the value of maxpermsize is set to the same size and the sum of the two cannot exceed the memory size of your computer.

(8) window-> preferences-> myeclipse enterprise workbench-> maven4myeclipse-> Maven, change the maven JDK to the JDK installed on the computer, that is, do not use the JDK provided by myeclipse, click the Add button and select JDK on your computer (Note: Not JRE)

(9) window-> preferences-> myeclipse enterprise workbench-> matisse4myeclipse/swing, set design-time information (DT. jar) use the jdk dt installed on your computer in location. jar (that is, do not use the DT. jar)

After the above optimization, the startup time of myeclipse can be reduced by 2/3, And the startup speed of Tomcat can be reduced by 1/2 (depending on the situation ). after using myeclipse for a while, many projects will be generated. Even if these projects are closed, myeclipse will load these projects at startup. This process takes a lot of time, we recommend that you delete all unused projects and import them when using them.

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.