Eclipse Performance Optimization

Source: Internet
Author: User

Performance Optimization

1. Disable automatic validation of myeclipse
Windows> perferences> myeclipse> Validation
Uncheck all build
If you need to verify a file, we can verify it separately. The method is:
On the file to be verified (right-click-> myeclipse-> RUN validation.

2. Start optimization and disable unnecessary modules.
Therefore, some unused modules cannot be loaded or started.
Window> preferences> General> startup Andy shutdown lists the modules loaded at myeclipse startup.
I only want it to load Tomcat 6 and check myeclipse easie Tomcat 6.
WTP: similar to myeclipse, the main difference is that WTP is free of charge. If myeclipse is used, this can be canceled.
Mylyn: A team task management tool, similar to CVS, which manages the project progress in task units and can be canceled if it is useless.
Derby: a database saved as a jar. It is useless and canceled.
A large batch of startup items prefixed with myeclipse easie: the servers supported by myeclipse are only used by the user, and other items are canceled,
For example, I only select tomcat.

3. Remove the spelling check of myeclipse (if you think it is useful, do not go)
Spelling check may cause us a lot of trouble. Our method names will all be abbreviations of words, and he will prompt that there are errors,
So it is best to remove it, which is of little use.
Window> perferences> General> editors> text editors> spelling> deselect the Enable spell checking check box.


4. Modify the editing tool when myeclipse edits the JSP page
Window> perferences> General> editors> File Associations>
In file types, select *. jsp> set "myeclipse JSP Editor" to default in associated editors.
There is also the default editor for XML files

5. Modify the myeclipse. ini file in the myeclipse installation directory to increase the non-heap memory of JVM.
The details are as follows:
-Configuration
Configuration
-Vmargs
-Xms256m
-Xmx512m
-XX: permsize = 128 m
-XX: maxpermsize = 256 m
-XX: reservedcodecachesize = 64 m

6. Use jrockit as the Java Vm of eclipse
Eclipse startup parameter, which specifies the JRE used during eclipse startup
"E: \ myeclipse8.0 \ myeclipse blue edition 8.0 GA \ myeclipse-blue.exe"-vm e: \ jrockit \ jrrt-3.1.2-1.6.0 \ bin \ javaw.exe-vmargs-xms256m-xmx512m

In eclipse, window> preferences, select Java> installed jres to add jrockit and set it to default. In this way, you can use jrockit to compile the project.

7. Disable Automatic Updates.
1. Window-> perferences-> General-> startup and shutdown remove the Automatic Updates scheduler (automatically update the Scheduler)

2. Window-> perferences-> myeclipse-> maven4myeclipse hook enable maven4myeclipse featrures; confirm to close the window; this step is to display the maven node in step 1

3. Window-> perferences-> myeclipse-> maven4myeclipse-> Maven hooks up download repository index updates on startup

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.