love~ruby+rails 发表于 2013-2-7 01:36:31

Trick to speed up Eclipse

Trick to speed up Eclipse
Eclipse is one of the largest application in size which used for PHPdevelopment. Because of its large size and running through JVM (JavaVirtual Machine), this application is very much slow in execution. Hereare few configurations to be made to speed up Eclipse execution.
A file eclipse.ini is found under the directory from where eclipse is running. The following changes should be made in this file:
1. Find the lines containing -Xms40m and -Xmx256m and replace them with -Xms128m and -Xmx384m respectively.
2. Add the following lines at the end of the file
-vm
C:\Program Files\Java\jre1.6.0_11\bin\client\jvm.dll
-Xss2m
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+UseConcMarkSweepGC
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:CompileThreshold=5
-Dcom.sun.management.jmxremote
NOTE: The path C:\Program Files\Java\jre1.6.0_11\bin\client\jvm.dllmay differ according to JRE installation on your computer. Please findthe correct path of jvm.dll file and put it accordingly.
Eclipse PDT 2.0 which is based on Eclipse 3.4 which is comparatively faster than Eclipse 3.3 or older.
Zend Studio which is also Eclipse PDT based IDE and provides similar functionality as Eclipse PDT.
But the latest version of Zend Studio (Version 6.1.2) which is stillbased Eclipse (Version 3.3). So it is recommended to use Eclipse PDTinstead of Zend Studio for better performance until next version ofZend Studio is not released.
页: [1]
查看完整版本: Trick to speed up Eclipse