ZendStudio (eclipse) speed optimization method _ PHP Tutorial-php Tutorial

Source: Internet
Author: User
ZendStudio (eclipse) uses the speed optimization method. The original article title is to optimize the speed of myeclipse7.0 (especially buildingworkspace), which is the same as that of eclipse. Everyone must be troubled by the slow speed of builedingworkspace. 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 from 256 to 512 # I changed the memory size of 4 GB to 1024 M

-Vmargs
-Xms128m // the original value is 40. I changed it to 128.
-Xmx512m
--------------------------------------------------------------------------------
2. 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, 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 we know which startup items are useful? I want to explain the usefulness of the startup items I know. I hope you can reply to them as follows:
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 starting with MyEclipse EASIE: the servers supported by myeclipse are only used by myself, and other items are canceled. 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.

Myeclipse7.0 speed (especially building workspace) is the same as that set in eclipse. You must be troubled by the slow speed of buileding workspace...

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.