Zend Studio (eclipse) Speed Optimization Method

Source: Internet
Author: User

The title of the original article is to optimize the speed of myeclipse7.0 (especially the building workspace), which is the same as that of Eclipse.

You must be troubled by the slow speed of buileding workspace ~

In fact, you only need to remove the check box before building automatically in the project option, it will be much faster ..

In addition, you must feel a lot of pain for the speed of myeclipse. OK, now we start to speed up myeclipse:

1. Increase Non-heap memory of JVM
Open eclipse. ini
-Showsplash
Com. genuitec. myeclipse. Product
-Launcher. xxmaxpermsize
256 m
-Vmargs
-Dosgi. requiredjavaversion = 1.5
-Xms128m
-Xmx512m
-Dosgi. splashlocation = E: myeclipse 6.0eclipsemyeclipsesplash.bmp
-Duser. language = EN
-XX: permsize = 128 m
-XX: maxpermsize = 256 m
Increase the following-XX: maxpermsize, such as-XX: maxpermsize = 512 m, and then change-XX: permsize to the same size as-XX: maxpermsize.
Almost every time eclipse gets stuck, it is caused by insufficient non-heap memory. The maximum and minimum values are adjusted to the same value because myeclipse is not allowed to change the memory size frequently.
Note: XX: The sum of maxpermsize and xmx cannot exceed the memory size of your computer!

Content in eclipse. ini in myeclipse7.0:

---------------------------------------------------------------------
-startup
plugins/org. eclipse. equinox. launcher_1.0.100.v20080509-1800.jar
-- launcher. library
plugins/org. eclipse. equinox. launcher. win32.win32. x86_1.0.100.v20080509-1800
-clean
-showsplash
COM. genuitec. myeclipse. product
-- launcher. xxmaxpermsize
512 M // I changed it from 256 to 512 # I changed all 4 GB memory of my host to 1024 m

-vmargs
-xms128m // The original value is 40. I changed it to 128.
-xmx512m
modified
II. remove modules that do not need to be loaded
A system with 20% features can often meet 80% of requirements, and myeclipse is no exception. In most cases, we only need 20% of system functions, therefore, some unused modules cannot be loaded and started. 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 I know which boot items are useful? I want to explain the usefulness of the startup items I know, but I still have many questions that I don't understand. I hope you can 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, which manages the project progress in tasks, if it is useless, you can cancel
Derby: a database saved as a jar. If it is not used, cancel
A large batch of startup items starting with myeclipse easie: for the servers supported by myeclipse, select only your own server and cancel other services. For example, I only select tomcat.

3. 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.
Windows-> perferences-> myeclipse-> Validation
Drop all vertices except manual. Only classpath dependency validator is left in build.
Manual verification method:
On the file to be verified, right-click and choose myeclipse> RUN validation.

4. spelling check may cause us a lot of trouble. Our method names will 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

5. If myeclipse opens the default JSP Editor, it will open the preview at the same time.
Windows> perferences> General> editors> File Associations
Change the default value to myeclipse JSP editor.

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.