JAVA MyEclipse (1)--Disable updating indexes and dramatically optimize MyEclipse speed & turn off Automatic Updates

Source: Internet
Author: User
Tags win32

Disable MyEclipse Updating indexes

MyEclipse always in update index, the study found that update index ... is maven in the download update, but it is very affecting the speed of use of MyEclipse, disable the following methods:

Window => Preferences => myeclipse Enterprise Workbench => maven4myeclipse => maven=> uncheck Download reposit Ory Index updates on startup

Dramatically optimize MyEclipse speed & turn off Automatic Updates

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. By windows-preferences Open the Configuration window, select the General-startup and Shutdown on the left, this time on the right side shows the Eclipse startup module loaded, you can remove some of the modules according to their actual situation.

Windows–>perferences–>general–>startup and shutdown

Turn off the useless startup items:

How do you know which startup items are useful? I now know the launch of the use of a word, there are many do not understand, I hope you understand the reply in the following AH:

WTP: A similar thing to MyEclipse, the main difference is that WTP is free, if you use MyEclipse, this can be canceled
Mylyn: Team task management tools, similar to CVS, the task of managing the project progress, the useless can be canceled
Derby: A database saved as a jar, I don't have the option to cancel
a large row of MyEclipse Easie Startup items: MyEclipse supported servers, only their own, other cancellation, for example, I only chose Tomcat

Cancel MyEclipse automatically validate project configuration files at startup

By default, MyEclipse automatically validates each project's profile at startup, which is a time-consuming process that you can select Myeclipse-validation in the Preferences window, and then in the validator list on the right, keep only The Manual item is OK. If you need to verify the time only need to select the file, and then right-click the Myeclipse-run validation on it.

That

Windows–>perferences–>myeclipse–>validation
put all the manual below the point, the build is only left classpath dependency Validator

Manual Verification Method:

On the file you want to verify, right-click –>myeclipse–>run validation

Spell check will bring us a lot of trouble, our method name will be the abbreviation of the word, he will be prompted with errors, so it is best to remove, not much use:

Windows–>perferences–>general–>validation->editors->text editors->spelling

MyEclipse Open JSP's default editor is not good, will open the preview at the same time

Windows–>perferences–>general–>editors->file associations,
change the default to MyEclipse JSP Editor

Turn off Automatic Updates

Windows > Preferences > MyEclipse > Community Essentials, 
turn option "Search for new features on"

Increase MyEclipse start speed

Many people feel that the myeclipse is too slow to start, because it integrates too many functions, but for most people is not necessary, only to be based on the project you are using to load the appropriate tools on the line. Wait until the other time to load the required.

<1> MyEclipse's installation directory has a file named Eclipse.ini, which is opened with Notepad to modify the parameters:

Change the-xms128m into-xms256m and 
-xmx256m to-xmx512m.

<2> remove modules that do not need to be loaded windows-preferences–> general–> Startup and Shutdown then right

Shows the modules that were loaded when eclipse started, removing some modules as needed.

<3> Auto-Validate project profiles on startup Windows-> Preferences-> myeclipse Enterprise workbench->

Run Validation Just keep the Manual item on the validator list on the right. If you need to validate it, you just need to select

file, and then right click on Myeclipse-run validation.

I optimized the machine to modify 
1. Windows-preferences--> general--> Startup and shutdown the original machine started very slowly, but now

In a very quick way, because it almost removed all the items that should not be started loading.

2.eclipse.ini's file,
The original Startup project file

-startup 
.. /common\plugins\org.eclipse.equinox.launcher_1.0.101.r34x_v20080819.jar 
--launcher.library 
. /common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.r34x_v20080731 
-clean 
- Configuration 
configuration 
-vm 
C:\Program files\genuitec\common\binary\com.sun.java.jre.win32.x86_ 1.5.0.011\bin\client\jvm.dll 
-vmargs 
-xmx512m 
-xx:maxpermsize=192m


changed 
-xx: maxpermsize=384m

With MyEclipse development process encountered sometimes in the page to write ".", half a day to respond to, or write a few lines of code, save half to complete, and so on other suspended animation phenomenon.
Many methods on the Internet do not have one by one verification, recorded so for reference:
Method One
MyEclipse always wait for several seconds to open JSP?
This problem is really annoying, in fact, are MyEclipse "smart" results (it defaults to open with visual designer), the following settings can be effectively alleviated.

1. Either right click on the file, choose Open With-"MyEclipse JSP Editor Open, so will not use the visual open, less cost source, automatic prompt also very fast." 
2. Either take a permanent approach Window-"Preferences-" general-"Editors-" File associations set the editor associated with the default dozen *.jsp to MyEclipse JSP Ed Itor.

Method two recommended
modifying Eclipse.ini files

-clean 
-showsplash 
com.genuitec.myeclipse.product.ide 
--launcher.xxmaxpermsize 
256m 
- Vmargs 
-xms128m 
-xmx512m 
-duser.language=en 
-xx:permsize=128m 
-xx:maxpermsize=256m

Parameter description:

|-vmargs: Description behind the VM's parameters 
| 
| -xms128m: Minimum memory for virtual machine occupancy System 
| 
| -XMX512M: Virtual machine occupies the maximum memory of the system 
| 
| -xx:permsize: Minimum heap size. 
| 
| -xx:maxpermsize: Maximum heap size. |

Turn off Automatic Updates

1.window->preferences->general->startup and shutdown-> cancel the "Automatic Updates Scheduler" Item

2.window- >preferences->myeclipse Enterprise workbench->maven4myeclipse->maven-> Cancel "Download Repository index Updates "Item

3.window->preferences->myeclipse Enterprise workbench->maven4myeclipse->myeclipse dashboard-> Cancel "show MyEclipse Dashboard on Startup"

————————————————————————————————————————————————— – Java Architect Project Combat, high concurrency cluster distributed, large data high availability video tutorials, total 760G

Download Address:

https://item.taobao.com/item.htm?id=555888526201

01. Senior Architect 42 Stage high
02.Java Advanced System Training Architecture Course 148 hours
03.Java Advanced Internet Architect Course
04.Java Internet Architecture Netty, Nio, Mina, etc.-Video tutorials
05. Java Advanced Architecture Design 2016 finishing-video Tutorials
06. Architect Basics, advanced film
07.Java architect required Linux Operation series Course
08.Java Advanced System training Program 116 hours
+
Hadoop series tutorials, Java design patterns and data structures, Spring Cloud Micro Service, Springboot entry
————————————————————————————————————————————————— –

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.