Significantly optimized myeclipse Speed & Disabled Automatic Updates

Source: Internet
Author: User

(Reprinted)

Significantly optimized myeclipse Speed & Disabled Automatic Updates

 

Remove unnecessary modules

20% of a system's functions often meet 80% of the requirements, and myeclipse is no exception. We only need 20% of the system functions in most cases, so we can disable loading and starting some unused modules. Open the Configuration window through windows-preferences, and select general-startup and shutdown on the left. The module loaded at eclipse startup is displayed on the right, you can remove some modules according to your actual situation.
Windows-> perferences-> General-> startup and Shutdown

Disable useless startup items:

How can we know which startup items are useful? I want to explain the usefulness of the startup items I know, but I still have a lot to understand. I hope you can understand them and reply to them below: WTP: something similar to myeclipse, the main difference is that WTP is free. If myeclipse is used, you can cancel mylyn: Team task management tool. Similar to CVS, you can manage the project progress in task units. If it is not used, you can cancel Derby: A database that is saved as a jar file is useless. Cancel a large batch of startup items starting with myeclipse easie: the server supported by myeclipse. select only the one you use and cancel the other items, for example, I only select tomcat.

 

Cancel the project configuration file automatically verified by myeclipse at startup

By default, myeclipse automatically verifies the configuration file of each project at startup. This is a very time-consuming process. You can select myeclipse-validation in sequence in the preferences window, then, only the manual items can be retained in the validator list on the right. If you only need to select the file for verification, right-click and choose myeclipse-run validation.

That is:

Windows-> perferences-> myeclipse-> Validation: Click All vertices under manual. In build, only classpath dependency validator is left.

 

Manual verification method:

On the file to be verified, right-click and choose myeclipse> RUN validation.

 

Spelling check will cause us a lot of trouble. Our method names will all be abbreviations of words, and he will also prompt errors, so it is best to remove them, so it is not very useful: windows> perferences> General> Validation> editors> text editors> spelling

 

It is not good for myeclipse to open the default JSP editor, and Windows-> perferences-> General-> editors-> file associations will be opened at the same time,

Change the default value to myeclipse JSP editor.

Disable Automatic update

Windows> preferences> myeclipse> community essen, select search for new features on startup"

 

Improves myeclipse startup speed

Many people feel that the startup speed of myeclipse is too slow because many functions are integrated, but it is unnecessary for most people, you only need to load the corresponding tool according to the project you are using. Wait until other operations are used to load the required data.

<1> the installation directory of myeclipse contains a file named eclipse. ini. Open it in notepad and modify the parameters:
Change-xms128m to-xms256m and change-xmx256m to-xmx512m.

<2> remove unnecessary modules windows-preferences --> General --> startup and shutdown.

The module loaded during eclipse startup is displayed, and some modules are removed as needed.

<3> cancel the automatic verification of the project configuration file window at startup-> preferences-> myeclipse enterprise workbench->

Run validation only retains the manual items in the validator list on the right. to verify the items, select

File, right-click and choose myeclipse-run validation.

Optimization and modification of the sub-machine: 1. Windows-preferences --> General --> startup and shutdown the sub-machine started slowly, but now

It was very fast, because almost all the projects that should not be started were removed.

2. Eclipse. ini 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-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 = 192 m

-XX: maxpermsize = 384 m after modification

When using myeclipse for development, sometimes "." is written on the page, which takes a few days to respond; or a few lines of code are written. It takes half a day to save the code, and so on.
Many methods on the Internet have not been verified one by one. This is recorded for reference. Why does myeclipse always wait several seconds to open JSP?
This problem is indeed very annoying. It is actually the result of myeclipse's "self-made smart" (which is opened by visual designer by default). The following settings can be effectively mitigated.
1. Right-click the file and choose open with-> myeclipse JSP editor to open it. This will not be opened visually, resulting in less resource consumption and Fast Automatic prompts. 2. Either use the permanent method window-> preferences-> General-> editors-> file associations to set the editor Association of *. jsp to myeclipse JSP editor by default.

Method 2 it is recommended to modify the eclipse. ini file

-Clean-showsplash com. genuitec. myeclipse. Product. ide
-- Launcher. xxmaxpermsize 256 m-vmargs-xms128m-xmx512m
-Duser. language = EN-XX: permsize = 128 M-XX: maxpermsize = 256 m

Parameter description:

|-Vmargs: Specifies the VM parameter. |-xms128m: the VM occupies the minimum system memory. |
|-Xmx512m: The maximum memory occupied by the Virtual Machine |-XX: permsize: The minimum heap size. |
|-XX: maxpermsize: Maximum heap size. |

Disable Automatic update

1. Window-> preferences-> General-> startup and shutdown-> cancel the "Automatic Updates scheduler" item

2. Window-> preferences-> myeclipse enterprise workbench-> maven4myeclipse-> Maven-> cancel the "Download repository index updates" item

3. Window-> preferences-> myeclipse enterprise workbench-> maven4myeclipse-> myeclipse dashboard-> cancel the "show myeclipse dashboard on startup" item

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/jinxinxin1314/archive/2009/08/23/4474533.aspx

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.