Trick to speed up Eclipse
Eclipse is one of the largest application in size which used for PHP development. Because of its large size and running through JVM (Java Virtual Machine), this application is very much slow in execution. Here are 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 FilesJavajre1.6.0_11binclientjvm.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 FilesJavajre1.6.0_11binclientjvm.dll may differ according to JRE installation on your computer. Please find the 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 still based Eclipse (Version 3.3). So it is recommended to use Eclipse PDT instead of Zend Studio for better performance until next version of Zend Studio is not released.