Zend Studio of eclipse USES a speed optimization approach

  • 2020-03-31 21:39:58
  • OfStack

The original title optimizes the speed of myeclipse7.0 (especially the building workspace), which is the same as the eclipse Settings.

You must be bothered by the slow speed of buileding workspace

Simply remove the tick before building automatically from the project option and it will be much faster.

In addition, you must often feel painful about the speed of myeclipse. Ok, now start to speed up myeclipse:

Increase the non-heap memory of the JVM
Open the eclipse. Ini
- showsplash
Com. Drive. Myeclipse. Product
� the launcher. XXMaxPermSize
256 m
- vmargs
- Dosgi. RequiredJavaVersion = 1.5
- Xms128m
- Xmx512m
- Dosgi. SplashLocation = e: MyEclipse 6.0 eclipseMyEclipseSplash. BMP
- Duser. Language = en
- XX: PermSize = 128 m
- XX: MaxPermSize = 256 m
Increase the following -xx :MaxPermSize, such as -xx :MaxPermSize=512M, and then adjust the -xx :PermSize to the same size as -xx :MaxPermSize
Almost every time an eclipse card crashes, it's because the non-heap is out of memory, and the reason for setting the Max and min to the same size is to prevent myeclipse from changing the memory area size frequently
Note: the sum of the size of XX:MaxPermSize and Xmx cannot exceed the memory size of your computer!

The contents of eclipse.ini in MyEclipse7.0:


---------------------------------------------------------------------
- startup
The plugins/org. Eclipse equinox. Launcher_1. 0.100 v20080509-1800. The jar
-- the launcher. The library
Plugins/org. Eclipse equinox. The launcher. The win32. Win32. X86_1. 0.100 v20080509-1800
- the clean
- showsplash
Com. Drive. Myeclipse. Product
-- the launcher. XXMaxPermSize
512m // instead of 256, I changed it to 512 #

- vmargs
-xms128m // I changed it from 40 to 128
- Xmx512m
--------------------------------------------------------------------------------
Remove modules that do not need to be loaded
With 20 per cent of a system's functionality often meeting 80 per cent of its requirements, and MyEclipse is no exception, we only need 20 per cent of the system's functionality most of the time, so we can disable some unused modules from being loaded. When you open the configuration window with windows-preferences and select General Startup and Shutdown on the left, the modules loaded at Startup of Eclipse are displayed on the right. You can remove some of them according to your actual situation.
Windows � > Perferences � > General � > Startup and shutdown
Turn off useless startup items:
How do you know which startup items are useful? I now know the use of the startup, there are a lot of do not understand, I hope you understand the reply in the following:
WTP: a similar thing to myeclipse, the main difference is that WTP is free, if you use myeclipse, this can be canceled
Mylyn: a team task management tool, similar to CVS, that manages project progress on a task basis
Derby: a database saved as a jar, I didn't use it, cancel
A large list of startup items starting with MyEclipse EASIE: MyEclipse supported servers, only those for your own use, and other cancels, such as I only chose tomcat

Cancel MyEclipse automatically validates the project configuration file at startup
In the default case, MyEclipse automatically validates each project's configuration file when it starts, which is a time-consuming process. You can select myeclipse-validation in the Preferences window and then leave only the Manual item in the list of validators on the right. If you need to validate, just select the file, then right-click and select myeclipse-run Validation.
Windows � > Perferences � > Myeclipse � > The validation
Leave the classpath dependency Validator in the build except for all the points under manual
Manual verification method:
Right-click on the file you want to verify. Myeclipse � > Run the validation

Four, spell check will give us a lot of trouble, our method of naming will be the abbreviation of the word, he will also hint that there is a mistake, so it is best to remove, not much use:
Windows � > Perferences � > General � > Validation - > Editors - > The Text Editors - > Spelling,

Five, myeclipse open JSP default editor is not good, will open at the same time preview
Windows � > Perferences � > General � > Editors - > The file associations
Change the default to MyEclipse JSP Editor

Related articles: