The MYECLIPSE2015 optimization speed scheme still has several main aspects: removing modules that need not be loaded, eliminating redundant configurations, removing unnecessary checks, and shutting down updates.
Step One: Remove modules that do not need to be loaded
A system 20% function is often able to meet the requirements of 80%, MyEclipse is no exception, we only need 20% of the system in most cases, so you can put some unused modules to prohibit loading boot. Open the Configuration window via Windows-preferences, then select the General--> startup Andshutdown on the left, which shows the module loaded at eclipse startup at the right time. You can remove some modules according to your own actual situation.
Select menu: Window-->preferences-->general--> Startup and Shutdown
The startup items that can be turned off are:
JSF Secondary Development Plug-in
1) icefaces integrationfor myeclipse;
2) JSF Editor previewsupport for MyEclipse;
Delivery of related Plug-ins
3) Delivery Runtime JRE
4) Delivery Packageruntime UI etc 3
5) M2E Marketplace;
6 Mylyn Tasks UI and Mylynteam UI;
Turn off Automatic Updates
7) Equinox Provisioningplatform Automatic Update Support
Step Two: Cancel the spelling checker for MyEclipse
Spell check will bring us a lot of trouble, our method name will be the abbreviation of the word, MyEclipse will be prompted with errors, so it is best to remove, after all, we are not writing English articles.
Select menu: Window-->preferences-->general--> Editors--> texteditors--> spelling
Cancels the Enable spellchecking.
Step three: Cancel the automatic validation project configuration file when MyEclipse starts
In general, we just need to validate XML and JSF files, and other validations are basically useless.
Cancel method:
Select menu: Window-->preferences-->myeclipse--> Validation
Except for XML and JSF, you can choose to do nothing else.
Clicking the Apply button will eject the validationsettings changed prompt.
You can cancel all the hooks in the build section.
Manual authentication Method:
On the file you want to verify, right-click-->myeclipse--> Run validation, and you can achieve the same effect.
Fourth step: Change with JDK8
Select menu: Window-->preferences-->java--> installed JREs
Deactivate the MyEclipse built-in JDK1.7 and use the externally installed JDK 8 instead.
Shortly thereafter, in window-->preferences--> Java--> Compiler
To select JDK compiler level 1.8, click Apply.
Fifth step: Turn off maven automatic download
Select menu: Window-->preferences-->myeclipse--> maven4myeclipse
Deselect the Downloadrepositoryindex updates on startup option, and the Maven JDK also chooses JDK8.
Step Sixth: Change how the JSP defaults to open
After installing the MyEclipse, edit the JSP page, will open the JSP edit page, also has the preview page, the speed is very slow.
Select menu: Window-->preferences-->general--> Editors--> File Associations
Select the Myeclipsejspeditor Editor, and then click the Default button on the left.
Seventh Step: Optimizing the configuration file
Open the Meclipse.ini configuration file under the MyEclipse installation directory
-vmargs
-xmx512m
-xx:maxpermsize=256m
-xx:reservedcodecachesize=64m
-dgenuitec.honordevmode=true
-dosgi.dev=true
Change the-xx:maxpermsize=256m into-xx:maxpermsize=512m
Reason: Everybody must be familiar with this picture:
Almost every eclipse card is due to the lack of heap memory, the largest and smallest is the same because do not let myeclipse frequent memory area size
Note: The size of the xx:maxpermsize and XMX cannot exceed the size of your computer's memory.